Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.372/2.372, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001071/0.001071, allocations: 187.9 kB / 496.1 MB, free: 12.84 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.627/1.627, 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.001191/0.001191, allocations: 115.2 kB / 0.9318 GB, free: 5.656 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.148e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3131, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.384, allocations: 179.9 MB / 1.395 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/1.385, allocations: 97.56 kB / 1.395 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2175/1.602, allocations: 91.7 MB / 1.484 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.393e-06/1.602, allocations: 0 / 1.484 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001296/1.602, allocations: 55.98 kB / 1.484 GB, free: 1.973 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005894/1.608, allocations: 2.116 MB / 1.486 GB, free: 15.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.608, allocations: 8.031 kB / 1.486 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000737/1.609, allocations: 374.3 kB / 1.487 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/1.614, allocations: 0.7617 MB / 1.487 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003824/1.617, allocations: 1.532 MB / 1.489 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/1.618, allocations: 184.8 kB / 1.489 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006113/1.618, allocations: 228 kB / 1.489 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/1.627, allocations: 3.817 MB / 1.493 GB, free: 8.672 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-05/1.627, allocations: 7.938 kB / 1.493 GB, free: 8.664 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/1.627, allocations: 104 kB / 1.493 GB, free: 8.562 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/1.627, allocations: 160.5 kB / 1.493 GB, free: 8.402 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006888/1.634, allocations: 3.177 MB / 1.496 GB, free: 5.211 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/1.658, allocations: 16.49 MB / 1.512 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/1.661, allocations: 2.116 MB / 1.515 GB, free: 1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/1.662, allocations: 0.5942 MB / 1.515 GB, free: 408 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/1.662, allocations: 89.66 kB / 1.515 GB, free: 300 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.662, allocations: 43.12 kB / 1.515 GB, free: 248 kB / 0.9636 GB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/1.662, allocations: 0 / 1.515 GB, free: 248 kB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.004478/1.667, allocations: 2.582 MB / 1.518 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/1.667, allocations: 111.6 kB / 1.518 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/1.668, allocations: 0.8962 MB / 1.519 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/1.668, allocations: 37.7 kB / 1.519 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007965/1.669, allocations: 1.099 MB / 1.52 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.669, allocations: 276.1 kB / 1.52 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/1.669, allocations: 28 kB / 1.52 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002595/1.669, allocations: 418.7 kB / 1.521 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/1.67, allocations: 0.5856 MB / 1.521 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/1.672, allocations: 1.127 MB / 1.522 GB, free: 8.723 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.673, allocations: 0.8295 MB / 1.523 GB, free: 7.891 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.673, allocations: 4 kB / 1.523 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003075/1.676, allocations: 1.939 MB / 1.525 GB, free: 5.93 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/1.676, allocations: 12 kB / 1.525 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.676, allocations: 16 kB / 1.525 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/1.676, allocations: 167.8 kB / 1.525 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.678, allocations: 339.4 kB / 1.525 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.063e-05/1.678, allocations: 35.86 kB / 1.525 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.679, allocations: 143.6 kB / 1.526 GB, free: 5.219 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.679, allocations: 64 kB / 1.526 GB, free: 5.156 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002416/1.679, allocations: 189.5 kB / 1.526 GB, free: 4.965 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/1.679, allocations: 114.7 kB / 1.526 GB, free: 4.852 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/1.682, allocations: 1.197 MB / 1.527 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.682, allocations: 11.95 kB / 1.527 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.682, allocations: 0 / 1.527 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.682, allocations: 3.984 kB / 1.527 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/1.687, allocations: 3.773 MB / 1.531 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.688, allocations: 0 / 1.531 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/1.688, allocations: 159.8 kB / 1.531 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003599/1.689, allocations: 143.3 kB / 1.531 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/1.689, allocations: 16 kB / 1.531 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/1.689, allocations: 12.22 kB / 1.531 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.689, allocations: 0 / 1.531 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/1.691, allocations: 1.545 MB / 1.533 GB, free: 13.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006369/1.691, allocations: 295.7 kB / 1.533 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.691, allocations: 20 kB / 1.533 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/1.692, allocations: 83.78 kB / 1.533 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.692, allocations: 60.42 kB / 1.533 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/1.692, allocations: 20 kB / 1.533 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001064/1.693, allocations: 0.6839 MB / 1.534 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.31e-07/1.693, allocations: 0 / 1.534 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001712/1.695, allocations: 415.9 kB / 1.534 GB, free: 12.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002571/1.698, allocations: 2.811 MB / 1.537 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.7, allocations: 1.646 MB / 1.539 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.7, allocations: 3.938 kB / 1.539 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/1.701, allocations: 0.8436 MB / 1.539 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.702, allocations: 241.1 kB / 1.54 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/1.711, allocations: 3.657 MB / 1.543 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001951/1.713, allocations: 1.964 MB / 1.545 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001281/1.714, allocations: 433.3 kB / 1.545 GB, free: 124 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009844/1.715, allocations: 0.7141 MB / 1.546 GB, free: 15.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/1.715, allocations: 0 / 1.546 GB, free: 15.41 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05902/1.774, allocations: 27.56 MB / 1.573 GB, free: 4.184 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/1.774, allocations: 195.7 kB / 1.573 GB, free: 3.965 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/4.324, allocations: 1.75 kB / 1.573 GB, free: 3.965 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat