Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001348/0.001348, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.001102/0.001102, allocations: 99.52 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.343e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.356, allocations: 176 MB / 1.391 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.356, allocations: 95 kB / 1.391 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1363/1.493, allocations: 55.49 MB / 1.445 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.854e-06/1.493, allocations: 0 / 1.445 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.227e-05/1.493, allocations: 31.94 kB / 1.445 GB, free: 10.64 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002623/1.496, allocations: 0.9751 MB / 1.446 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.496, allocations: 12.03 kB / 1.446 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003039/1.496, allocations: 118.5 kB / 1.446 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.498, allocations: 234.7 kB / 1.446 GB, free: 9.25 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/1.499, allocations: 0.5393 MB / 1.447 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/1.499, allocations: 54 kB / 1.447 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.499, allocations: 75.83 kB / 1.447 GB, free: 8.543 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/1.501, allocations: 1.123 MB / 1.448 GB, free: 7.273 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/1.501, allocations: 3.938 kB / 1.448 GB, free: 7.27 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/1.501, allocations: 35.95 kB / 1.448 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.944e-05/1.502, allocations: 53.28 kB / 1.448 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.503, allocations: 0.7388 MB / 1.449 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/1.51, allocations: 5.909 MB / 1.455 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/1.511, allocations: 0.5477 MB / 1.455 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/1.511, allocations: 322.1 kB / 1.455 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/1.511, allocations: 4.438 kB / 1.455 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.511, allocations: 39 kB / 1.456 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/1.511, allocations: 0 / 1.456 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.002592/1.514, allocations: 1.229 MB / 1.457 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.514, allocations: 55.84 kB / 1.457 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/1.515, allocations: 495.4 kB / 1.457 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.515, allocations: 37.69 kB / 1.457 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/1.515, allocations: 407.2 kB / 1.458 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/1.515, allocations: 173.5 kB / 1.458 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/1.515, allocations: 16 kB / 1.458 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.516, allocations: 374.8 kB / 1.458 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/1.516, allocations: 261.5 kB / 1.458 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/1.517, allocations: 452.1 kB / 1.459 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/1.517, allocations: 343 kB / 1.459 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.517, allocations: 4 kB / 1.459 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001829/1.519, allocations: 1.032 MB / 1.46 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.519, allocations: 8.75 kB / 1.46 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.519, allocations: 11.92 kB / 1.46 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/1.52, allocations: 275.2 kB / 1.46 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/1.52, allocations: 119.8 kB / 1.461 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/1.527, allocations: 6.588 MB / 1.467 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/1.528, allocations: 43.97 kB / 1.467 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/1.528, allocations: 24 kB / 1.467 GB, free: 2.594 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002063/1.528, allocations: 148.8 kB / 1.467 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/1.528, allocations: 75.11 kB / 1.467 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/1.53, allocations: 0.8729 MB / 1.468 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.53, allocations: 8 kB / 1.468 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.53, allocations: 4 kB / 1.468 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.53, allocations: 7.984 kB / 1.468 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/1.533, allocations: 1.702 MB / 1.47 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.533, allocations: 0 / 1.47 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/1.533, allocations: 67.83 kB / 1.47 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000809/1.534, allocations: 263.3 kB / 1.47 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/1.534, allocations: 12 kB / 1.47 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006803/1.541, allocations: 6.569 MB / 1.477 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.541, allocations: 0 / 1.477 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.543, allocations: 1.044 MB / 1.478 GB, free: 7.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/1.543, allocations: 196.2 kB / 1.478 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.544, allocations: 15.95 kB / 1.478 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/1.544, allocations: 32.09 kB / 1.478 GB, free: 6.812 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.544, allocations: 47.89 kB / 1.478 GB, free: 6.766 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/1.544, allocations: 16 kB / 1.478 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005691/1.545, allocations: 383.2 kB / 1.478 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/1.545, allocations: 3.938 kB / 1.478 GB, free: 6.379 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001006/1.546, allocations: 227.9 kB / 1.478 GB, free: 6.156 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002392/1.548, allocations: 2.024 MB / 1.48 GB, free: 4.051 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002306/1.551, allocations: 1.24 MB / 1.482 GB, free: 2.758 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.551, allocations: 0 / 1.482 GB, free: 2.758 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/1.552, allocations: 0.8811 MB / 1.483 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/1.553, allocations: 195.4 kB / 1.483 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/1.556, allocations: 1.147 MB / 1.484 GB, free: 436 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/1.557, allocations: 1.028 MB / 1.485 GB, free: 15.37 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005272/1.557, allocations: 121.9 kB / 1.485 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/1.558, allocations: 259.3 kB / 1.485 GB, free: 15 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/1.558, allocations: 0 / 1.485 GB, free: 15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/1.602, allocations: 16.32 MB / 1.501 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.602, allocations: 190.7 kB / 1.501 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/4.219, allocations: 4 kB / 1.501 GB, free: 14.79 MB / 0.9636 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat