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.264/2.264, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001153/0.001153, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.525/1.525, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009325/0.0009325, allocations: 95.86 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.165e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3381, allocations: 142.4 MB / 1.206 GB, free: 43.81 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.22/1.558, allocations: 175.2 MB / 1.377 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004555/1.559, allocations: 91.2 kB / 1.377 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1522/1.711, allocations: 55.66 MB / 1.432 GB, free: 188 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.711, allocations: 0 / 1.432 GB, free: 188 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.242e-05/1.711, allocations: 27.75 kB / 1.432 GB, free: 164 kB / 0.8386 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.001639/1.713, allocations: 0.8832 MB / 1.432 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.713, allocations: 12.03 kB / 1.432 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/1.714, allocations: 222.8 kB / 1.433 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/1.715, allocations: 0.5428 MB / 1.433 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.716, allocations: 20 kB / 1.433 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/1.716, allocations: 47.91 kB / 1.433 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008731/1.716, allocations: 0.5433 MB / 1.434 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/1.718, allocations: 0.9851 MB / 1.435 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/1.718, allocations: 11.94 kB / 1.435 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/1.718, allocations: 4 kB / 1.435 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/1.718, allocations: 53.16 kB / 1.435 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005311/1.723, allocations: 5.64 MB / 1.44 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/1.724, allocations: 0.5684 MB / 1.441 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006139/1.725, allocations: 396.8 kB / 1.441 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/1.725, allocations: 4.688 kB / 1.441 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.725, allocations: 37.75 kB / 1.441 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 2.805e-06/1.725, allocations: 4 kB / 1.441 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.002351/1.727, allocations: 1.157 MB / 1.442 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/1.727, allocations: 55.41 kB / 1.443 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/1.728, allocations: 334.5 kB / 1.443 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/1.728, allocations: 29.64 kB / 1.443 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/1.728, allocations: 377 kB / 1.443 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/1.728, allocations: 151.6 kB / 1.443 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/1.728, allocations: 0 / 1.443 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.728, allocations: 360 kB / 1.444 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/1.729, allocations: 224.2 kB / 1.444 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/1.729, allocations: 402.1 kB / 1.444 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/1.729, allocations: 293.8 kB / 1.445 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.729, allocations: 0 / 1.445 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001629/1.731, allocations: 0.938 MB / 1.446 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.731, allocations: 8 kB / 1.446 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.731, allocations: 4 kB / 1.446 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009665/1.732, allocations: 313.3 kB / 1.446 GB, free: 3.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.732, allocations: 91.14 kB / 1.446 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/1.739, allocations: 6.835 MB / 1.453 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/1.739, allocations: 24.03 kB / 1.453 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/1.74, allocations: 23.81 kB / 1.453 GB, free: 12.37 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.0001494/1.74, allocations: 121 kB / 1.453 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001416/1.741, allocations: 0.8087 MB / 1.454 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/1.741, allocations: 59.3 kB / 1.454 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/1.743, allocations: 0.845 MB / 1.454 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.743, allocations: 7.984 kB / 1.454 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.743, allocations: 4 kB / 1.454 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.743, allocations: 0 / 1.454 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/1.745, allocations: 1.712 MB / 1.456 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.745, allocations: 11.97 kB / 1.456 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.746, allocations: 43.91 kB / 1.456 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/1.746, allocations: 269.3 kB / 1.456 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/1.746, allocations: 0 / 1.456 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005797/1.752, allocations: 6.557 MB / 1.463 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.752, allocations: 4.031 kB / 1.463 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.754, allocations: 0.9652 MB / 1.464 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/1.754, allocations: 166.5 kB / 1.464 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/1.754, allocations: 4 kB / 1.464 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/1.754, allocations: 11.97 kB / 1.464 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.829e-05/1.755, allocations: 47.14 kB / 1.464 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/1.755, allocations: 11.56 kB / 1.464 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003861/1.755, allocations: 249 kB / 1.464 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.755, allocations: 0 / 1.464 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009383/1.756, allocations: 176 kB / 1.464 GB, free: 1.367 MB / 0.8698 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.00192/1.758, allocations: 1.937 MB / 1.466 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00169/1.76, allocations: 1.078 MB / 1.467 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.76, allocations: 0 / 1.467 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.761, allocations: 0.7829 MB / 1.468 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/1.761, allocations: 155.8 kB / 1.468 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/1.764, allocations: 1.027 MB / 1.469 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.764, allocations: 1.012 MB / 1.47 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003052/1.764, allocations: 96.89 kB / 1.47 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/1.765, allocations: 220.9 kB / 1.471 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/1.765, allocations: 0 / 1.471 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/1.802, allocations: 12.89 MB / 1.483 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.803, allocations: 163.6 kB / 1.483 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/4.461, allocations: 0 / 1.483 GB, free: 14.68 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