Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009268, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009086/0.0009087, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8614, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004855/0.8663, allocations: 4.111 MB / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.8698, allocations: 2.28 MB / 0.9598 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.8704, allocations: 20.66 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003151/0.8708, allocations: 68.56 kB / 0.9599 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.872, allocations: 370.7 kB / 0.9603 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.8729, allocations: 276.9 kB / 0.9605 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.874, allocations: 0.5893 MB / 0.9611 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008207/0.8748, allocations: 431.3 kB / 0.9615 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000636/0.8755, allocations: 265.6 kB / 0.9618 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006647/0.8762, allocations: 282.6 kB / 0.962 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.8763, allocations: 20.28 kB / 0.9621 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.8768, allocations: 148.3 kB / 0.9622 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.877, allocations: 145.4 kB / 0.9623 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.8773, allocations: 136 kB / 0.9625 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007812/0.8781, allocations: 0.5966 MB / 0.9631 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8781, allocations: 0 / 0.9631 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8781, allocations: 0 / 0.9631 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.8781, allocations: 1.156 kB / 0.9631 GB, free: 0.9023 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001502/0.8796, allocations: 0.8294 MB / 0.9639 GB, free: 204 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.8797, allocations: 9.844 kB / 0.9639 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.8798, allocations: 89.23 kB / 0.964 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.881, allocations: 179.2 kB / 0.9641 GB, free: 36 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009873/0.882, allocations: 468.8 kB / 0.9646 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.882, allocations: 34.45 kB / 0.9646 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.8821, allocations: 42.06 kB / 0.9647 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.8833, allocations: 0.8353 MB / 0.9655 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.8833, allocations: 11.12 kB / 0.9655 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.8834, allocations: 32.75 kB / 0.9655 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.8835, allocations: 70.27 kB / 0.9656 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.8845, allocations: 0.5638 MB / 0.9661 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.8893, allocations: 5.636 MB / 0.9716 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.89, allocations: 469.4 kB / 0.9721 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.8901, allocations: 2.781 kB / 0.9721 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.8901, allocations: 36.75 kB / 0.9721 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.8901, allocations: 0 / 0.9721 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002788/0.8929, allocations: 1.499 MB / 0.9736 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.893, allocations: 55.09 kB / 0.9736 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006759/0.8936, allocations: 495.2 kB / 0.9741 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.8937, allocations: 31.08 kB / 0.9741 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.8939, allocations: 359.6 kB / 0.9745 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.8941, allocations: 122.1 kB / 0.9746 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.8941, allocations: 10.56 kB / 0.9746 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8943, allocations: 363.7 kB / 0.975 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.8946, allocations: 199.6 kB / 0.9751 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.8951, allocations: 432.3 kB / 0.9756 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.8955, allocations: 267.7 kB / 0.9758 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.8955, allocations: 3.031 kB / 0.9758 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002191/0.8977, allocations: 0.8108 MB / 0.9766 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.8978, allocations: 8.125 kB / 0.9766 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.8978, allocations: 8.375 kB / 0.9766 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000844/0.8987, allocations: 155 kB / 0.9768 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.8995, allocations: 130.4 kB / 0.9769 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.9041, allocations: 4.06 MB / 0.9809 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.9048, allocations: 33.03 kB / 0.9809 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.9049, allocations: 27.78 kB / 0.9809 GB, free: 1.184 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004567/0.9054, allocations: 214 kB / 0.9811 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.9056, allocations: 65.58 kB / 0.9812 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.9072, allocations: 0.5921 MB / 0.9818 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.9073, allocations: 2.5 kB / 0.9818 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.9073, allocations: 2.312 kB / 0.9818 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.9073, allocations: 0 / 0.9818 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.9108, allocations: 1.26 MB / 0.983 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.9108, allocations: 2.281 kB / 0.983 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.9111, allocations: 58.11 kB / 0.9831 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006669/0.9118, allocations: 144.2 kB / 0.9832 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.9119, allocations: 11.77 kB / 0.9832 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/0.9163, allocations: 4.04 MB / 0.9871 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.9164, allocations: 6.812 kB / 0.9872 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.9183, allocations: 0.79 MB / 0.9879 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000559/0.9189, allocations: 165.3 kB / 0.9881 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.9191, allocations: 12.05 kB / 0.9881 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.9196, allocations: 22.31 kB / 0.9881 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.9197, allocations: 37.95 kB / 0.9882 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.9197, allocations: 15.83 kB / 0.9882 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006315/0.9204, allocations: 329.6 kB / 0.9885 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9204, allocations: 0 / 0.9885 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00127/0.9217, allocations: 140 kB / 0.9886 GB, free: 10.24 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002113/0.9238, allocations: 1.813 MB / 0.9904 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.926, allocations: 1.036 MB / 0.9914 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.9261, allocations: 0 / 0.9914 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.9273, allocations: 0.7388 MB / 0.9921 GB, free: 6.402 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.9287, allocations: 181.2 kB / 0.9923 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00852/0.9372, allocations: 8.993 MB / 1.001 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.9381, allocations: 0.9181 MB / 1.002 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005895/0.9387, allocations: 113.3 kB / 1.002 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.939, allocations: 203.4 kB / 1.002 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of SimCode: time 1.323e-06/0.9391, allocations: 0 / 1.002 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.9736, allocations: 12.05 MB / 1.014 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.9739, allocations: 213 kB / 1.014 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.907, allocations: 3.875 kB / 1.014 GB, free: 15.7 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat does not exist to compare? outputFormat=mat