Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001356/0.001356, allocations: 168.9 kB / 492.3 MB, free: 0.6133 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.723/1.723, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009233/0.0009233, allocations: 101.7 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.9e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3106, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.418, allocations: 175.9 MB / 1.384 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/1.418, allocations: 96.7 kB / 1.384 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1426/1.561, allocations: 55.82 MB / 1.439 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.754e-06/1.561, allocations: 0 / 1.439 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.908e-05/1.561, allocations: 20 kB / 1.439 GB, free: 8.57 MB / 0.8542 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.002209/1.563, allocations: 0.8928 MB / 1.44 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.563, allocations: 8.031 kB / 1.44 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002809/1.563, allocations: 117 kB / 1.44 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/1.565, allocations: 217.5 kB / 1.44 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.566, allocations: 0.5473 MB / 1.441 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/1.566, allocations: 46.55 kB / 1.441 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.567, allocations: 63.61 kB / 1.441 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.568, allocations: 1.082 MB / 1.442 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/1.568, allocations: 0.625 kB / 1.442 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/1.568, allocations: 40.3 kB / 1.442 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/1.568, allocations: 57.16 kB / 1.442 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.569, allocations: 0.6798 MB / 1.443 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005009/1.574, allocations: 5.78 MB / 1.448 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/1.575, allocations: 0.5789 MB / 1.449 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/1.576, allocations: 404.8 kB / 1.449 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/1.576, allocations: 7.984 kB / 1.449 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/1.576, allocations: 41.53 kB / 1.449 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 2.425e-06/1.576, allocations: 0 / 1.449 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.002226/1.578, allocations: 1.207 MB / 1.45 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.578, allocations: 55.41 kB / 1.45 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/1.579, allocations: 398 kB / 1.451 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/1.579, allocations: 36.89 kB / 1.451 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/1.579, allocations: 378.6 kB / 1.451 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/1.579, allocations: 147.4 kB / 1.451 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/1.579, allocations: 17.44 kB / 1.451 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.579, allocations: 365.1 kB / 1.452 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/1.579, allocations: 235.4 kB / 1.452 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/1.58, allocations: 422.1 kB / 1.452 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/1.58, allocations: 300.7 kB / 1.453 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.58, allocations: 3.953 kB / 1.453 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001713/1.582, allocations: 1.003 MB / 1.454 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.582, allocations: 13.2 kB / 1.454 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.582, allocations: 4 kB / 1.454 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/1.583, allocations: 320.4 kB / 1.454 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/1.583, allocations: 90.88 kB / 1.454 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/1.59, allocations: 7.101 MB / 1.461 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/1.59, allocations: 31.16 kB / 1.461 GB, free: 3.871 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.59, allocations: 23.81 kB / 1.461 GB, free: 3.852 MB / 0.8698 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.0001443/1.591, allocations: 136.9 kB / 1.461 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.591, allocations: 63.34 kB / 1.461 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/1.592, allocations: 0.8864 MB / 1.462 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.592, allocations: 8 kB / 1.462 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.592, allocations: 4 kB / 1.462 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.592, allocations: 3.984 kB / 1.462 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/1.595, allocations: 1.852 MB / 1.464 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.595, allocations: 192 / 1.464 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.596, allocations: 47.91 kB / 1.464 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000808/1.596, allocations: 281.7 kB / 1.464 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/1.596, allocations: 11.48 kB / 1.464 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006083/1.603, allocations: 6.822 MB / 1.471 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.603, allocations: 144 / 1.471 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/1.604, allocations: 1.013 MB / 1.472 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/1.604, allocations: 169.8 kB / 1.472 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.203e-05/1.605, allocations: 10.5 kB / 1.472 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/1.605, allocations: 19.47 kB / 1.472 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/1.605, allocations: 38.89 kB / 1.472 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.605, allocations: 19.88 kB / 1.472 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003642/1.605, allocations: 306.9 kB / 1.472 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/1.605, allocations: 0 / 1.472 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008597/1.606, allocations: 193.9 kB / 1.473 GB, free: 8.945 MB / 0.8855 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.002065/1.608, allocations: 1.984 MB / 1.474 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.61, allocations: 1.135 MB / 1.476 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.61, allocations: 4.125 kB / 1.476 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.611, allocations: 0.8111 MB / 1.476 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/1.612, allocations: 179.7 kB / 1.477 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/1.615, allocations: 1.061 MB / 1.478 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/1.616, allocations: 1.011 MB / 1.479 GB, free: 3.234 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000499/1.617, allocations: 101.1 kB / 1.479 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/1.617, allocations: 231.4 kB / 1.479 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of SimCode: time 4.71e-07/1.617, allocations: 0 / 1.479 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/1.664, allocations: 14.12 MB / 1.493 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/1.665, allocations: 190.3 kB / 1.493 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/3.872, allocations: 1.828 kB / 1.493 GB, free: 5.027 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat