Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.287/2.287, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001207/0.001207, allocations: 176.9 kB / 496.1 MB, free: 12.85 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.352 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.001032/0.001032, allocations: 99.61 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.07e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3185, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.387, allocations: 176.7 MB / 1.391 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/1.387, allocations: 94.73 kB / 1.391 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1344/1.522, allocations: 55.83 MB / 1.446 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.074e-06/1.522, allocations: 0 / 1.446 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.523e-05/1.522, allocations: 20 kB / 1.446 GB, free: 9.578 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002403/1.524, allocations: 0.8925 MB / 1.447 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.524, allocations: 8.031 kB / 1.447 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003298/1.525, allocations: 114.5 kB / 1.447 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/1.527, allocations: 218.8 kB / 1.447 GB, free: 8.293 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/1.528, allocations: 0.5521 MB / 1.448 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/1.528, allocations: 45.31 kB / 1.448 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/1.529, allocations: 59.98 kB / 1.448 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/1.531, allocations: 1.079 MB / 1.449 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/1.531, allocations: 7.938 kB / 1.449 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/1.531, allocations: 31.98 kB / 1.449 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/1.531, allocations: 53.28 kB / 1.449 GB, free: 6.281 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/1.532, allocations: 0.6763 MB / 1.45 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006937/1.539, allocations: 5.779 MB / 1.455 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/1.54, allocations: 0.5993 MB / 1.456 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/1.541, allocations: 402.2 kB / 1.456 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/1.541, allocations: 4 kB / 1.456 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.541, allocations: 38.34 kB / 1.456 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 2.886e-06/1.541, allocations: 0 / 1.456 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.002563/1.544, allocations: 1.215 MB / 1.457 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.544, allocations: 55.41 kB / 1.458 GB, free: 13 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/1.544, allocations: 392.7 kB / 1.458 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/1.544, allocations: 29.7 kB / 1.458 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/1.545, allocations: 383.2 kB / 1.458 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/1.545, allocations: 153.8 kB / 1.458 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/1.545, allocations: 12 kB / 1.458 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.545, allocations: 366.7 kB / 1.459 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/1.545, allocations: 233 kB / 1.459 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/1.546, allocations: 417.4 kB / 1.459 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/1.546, allocations: 307.7 kB / 1.46 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.546, allocations: 0 / 1.46 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002075/1.549, allocations: 1.015 MB / 1.461 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.549, allocations: 4 kB / 1.461 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/1.549, allocations: 11.94 kB / 1.461 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.55, allocations: 323.8 kB / 1.461 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/1.55, allocations: 91.83 kB / 1.461 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/1.558, allocations: 7.074 MB / 1.468 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/1.559, allocations: 35.91 kB / 1.468 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/1.559, allocations: 24 kB / 1.468 GB, free: 1.48 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001955/1.559, allocations: 132.9 kB / 1.468 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1.559, allocations: 63.31 kB / 1.468 GB, free: 1.281 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/1.561, allocations: 0.8882 MB / 1.469 GB, free: 384 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.561, allocations: 4 kB / 1.469 GB, free: 380 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.561, allocations: 4 kB / 1.469 GB, free: 376 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/1.561, allocations: 3.984 kB / 1.469 GB, free: 372 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/1.565, allocations: 1.855 MB / 1.471 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.565, allocations: 4.375 kB / 1.471 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.565, allocations: 47.97 kB / 1.471 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000876/1.566, allocations: 283.1 kB / 1.471 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/1.566, allocations: 12 kB / 1.471 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/1.573, allocations: 6.821 MB / 1.478 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.573, allocations: 4.031 kB / 1.478 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/1.575, allocations: 1.002 MB / 1.479 GB, free: 5.566 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/1.575, allocations: 168.4 kB / 1.479 GB, free: 5.383 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.575, allocations: 19.92 kB / 1.479 GB, free: 5.363 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/1.576, allocations: 20.12 kB / 1.479 GB, free: 5.344 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.576, allocations: 43.88 kB / 1.479 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.576, allocations: 15.98 kB / 1.479 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004084/1.576, allocations: 309.5 kB / 1.48 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.51e-07/1.576, allocations: 0 / 1.48 GB, free: 4.984 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009914/1.577, allocations: 199.9 kB / 1.48 GB, free: 4.789 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002229/1.579, allocations: 1.975 MB / 1.482 GB, free: 2.73 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.581, allocations: 1.143 MB / 1.483 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.581, allocations: 4.125 kB / 1.483 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/1.583, allocations: 0.8148 MB / 1.484 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/1.584, allocations: 173.5 kB / 1.484 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/1.586, allocations: 1.052 MB / 1.485 GB, free: 15.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/1.587, allocations: 1.012 MB / 1.486 GB, free: 14.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004001/1.588, allocations: 109.2 kB / 1.486 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/1.588, allocations: 227.4 kB / 1.486 GB, free: 14.02 MB / 0.948 GB Notification: Performance of SimCode: time 1.313e-06/1.588, allocations: 0 / 1.486 GB, free: 14.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/1.625, allocations: 14.13 MB / 1.5 GB, free: 184 kB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/1.625, allocations: 192.9 kB / 1.5 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.977, allocations: 0 / 1.5 GB, free: 15.96 MB / 0.9636 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat