Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 184.3 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.1 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008947, allocations: 104.3 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003463, allocations: 10.94 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.4583, allocations: 165.3 MB / 1.384 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4586, allocations: 95.94 kB / 1.384 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07348/0.5321, allocations: 30.46 MB / 1.414 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5322, allocations: 0 / 1.414 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.211e-05/0.5322, allocations: 19.98 kB / 1.414 GB, free: 13.75 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001488/0.5337, allocations: 0.7324 MB / 1.415 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.5338, allocations: 8.031 kB / 1.415 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.534, allocations: 82.5 kB / 1.415 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.5354, allocations: 183.1 kB / 1.415 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.5362, allocations: 406.4 kB / 1.416 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.5362, allocations: 24.98 kB / 1.416 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.5363, allocations: 32 kB / 1.416 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009865/0.5373, allocations: 0.6963 MB / 1.416 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5373, allocations: 0 / 1.416 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.5374, allocations: 19.98 kB / 1.416 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-05/0.5375, allocations: 55.8 kB / 1.416 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.5382, allocations: 499.4 kB / 1.417 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.5419, allocations: 3.794 MB / 1.421 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.544, allocations: 0.6764 MB / 1.421 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.5441, allocations: 7.938 kB / 1.421 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5441, allocations: 46.5 kB / 1.421 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/0.5441, allocations: 0 / 1.421 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.0026/0.5467, allocations: 1.269 MB / 1.422 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.5468, allocations: 106.8 kB / 1.423 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.5473, allocations: 352.9 kB / 1.423 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.5473, allocations: 37.7 kB / 1.423 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.5475, allocations: 271.5 kB / 1.423 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.5477, allocations: 114.4 kB / 1.423 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.5477, allocations: 12 kB / 1.423 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.5479, allocations: 346.8 kB / 1.424 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.5482, allocations: 173 kB / 1.424 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.5486, allocations: 353.3 kB / 1.424 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.5489, allocations: 220.2 kB / 1.424 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5489, allocations: 0 / 1.424 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001097/0.5501, allocations: 0.6671 MB / 1.425 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5501, allocations: 8 kB / 1.425 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5501, allocations: 4 kB / 1.425 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.5505, allocations: 94.5 kB / 1.425 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.5509, allocations: 107.8 kB / 1.425 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5562/1.107, allocations: 4.049 MB / 1.429 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/1.108, allocations: 32.09 kB / 1.429 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.108, allocations: 23.72 kB / 1.429 GB, free: 182.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 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.0002901/1.108, allocations: 192.5 kB / 1.429 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.108, allocations: 48 kB / 1.429 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/1.109, allocations: 0.5204 MB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.109, allocations: 4.062 kB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.109, allocations: 1.281 kB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.109, allocations: 3.562 kB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/1.111, allocations: 1.28 MB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.111, allocations: 3.406 kB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.111, allocations: 64.27 kB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/1.112, allocations: 87.55 kB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/1.112, allocations: 10.06 kB / 1.431 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/1.114, allocations: 4.06 MB / 1.435 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.114, allocations: 9.484 kB / 1.435 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/1.115, allocations: 0.8967 MB / 1.436 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/1.115, allocations: 162.4 kB / 1.436 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/1.115, allocations: 10.83 kB / 1.436 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/1.116, allocations: 19.23 kB / 1.436 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/1.116, allocations: 43.27 kB / 1.436 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/1.116, allocations: 11.03 kB / 1.436 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000322/1.116, allocations: 277.8 kB / 1.437 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.116, allocations: 0 / 1.437 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007313/1.117, allocations: 128.3 kB / 1.437 GB, free: 176.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 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.001217/1.118, allocations: 2.223 MB / 1.439 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.119, allocations: 0.7885 MB / 1.44 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.119, allocations: 0 / 1.44 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/1.12, allocations: 0.5533 MB / 1.44 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/1.121, allocations: 120.9 kB / 1.44 GB, free: 174.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/1.126, allocations: 6.703 MB / 1.447 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/1.126, allocations: 0.8738 MB / 1.448 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003683/1.126, allocations: 98.75 kB / 1.448 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.127, allocations: 150.2 kB / 1.448 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of SimCode: time 2.074e-06/1.127, allocations: 0 / 1.448 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/1.156, allocations: 9.427 MB / 1.457 GB, free: 168.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.156, allocations: 212 kB / 1.458 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/3.337, allocations: 3.938 kB / 1.458 GB, free: 167.9 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat