Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.34/2.34, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.0009352/0.0009353, allocations: 168.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.544/1.544, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008511/0.0008516, allocations: 92.02 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.199e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3032, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.357, allocations: 166 MB / 1.381 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.357, allocations: 92.88 kB / 1.381 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.07342/1.431, allocations: 30.29 MB / 1.411 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.316e-06/1.431, allocations: 0 / 1.411 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.895e-05/1.431, allocations: 11.94 kB / 1.411 GB, free: 11.64 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001237/1.432, allocations: 0.6769 MB / 1.411 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.432, allocations: 8.031 kB / 1.411 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/1.433, allocations: 186.5 kB / 1.411 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/1.434, allocations: 393.3 kB / 1.412 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/1.434, allocations: 30.45 kB / 1.412 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/1.434, allocations: 34.11 kB / 1.412 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/1.435, allocations: 0.6934 MB / 1.413 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.435, allocations: 7.938 kB / 1.413 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/1.435, allocations: 18.17 kB / 1.413 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.702e-05/1.436, allocations: 47.36 kB / 1.413 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007301/1.436, allocations: 494.3 kB / 1.413 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/1.44, allocations: 3.788 MB / 1.417 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/1.442, allocations: 0.6669 MB / 1.417 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/1.442, allocations: 176.3 kB / 1.418 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/1.442, allocations: 8 kB / 1.418 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.442, allocations: 46.62 kB / 1.418 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.487e-06/1.442, allocations: 0 / 1.418 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001618/1.444, allocations: 0.831 MB / 1.418 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/1.444, allocations: 114.7 kB / 1.419 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/1.444, allocations: 355.6 kB / 1.419 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.445, allocations: 29.02 kB / 1.419 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.445, allocations: 272.8 kB / 1.419 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/1.445, allocations: 120.4 kB / 1.419 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/1.445, allocations: 10.81 kB / 1.419 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.445, allocations: 352.3 kB / 1.42 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.445, allocations: 162.8 kB / 1.42 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/1.446, allocations: 354.4 kB / 1.42 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/1.446, allocations: 214.9 kB / 1.42 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.446, allocations: 4 kB / 1.42 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009836/1.447, allocations: 0.6475 MB / 1.421 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.447, allocations: 9.406 kB / 1.421 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.447, allocations: 5.062 kB / 1.421 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003654/1.447, allocations: 99.45 kB / 1.421 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/1.448, allocations: 103.8 kB / 1.421 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/1.451, allocations: 4.033 MB / 1.425 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/1.452, allocations: 26.78 kB / 1.425 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/1.452, allocations: 23.25 kB / 1.425 GB, free: 13.25 MB / 0.8855 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.452, allocations: 142.3 kB / 1.425 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.452, allocations: 47.44 kB / 1.425 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008999/1.453, allocations: 0.5053 MB / 1.426 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/1.453, allocations: 15.94 kB / 1.426 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.453, allocations: 0 / 1.426 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.453, allocations: 3.984 kB / 1.426 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/1.455, allocations: 1.277 MB / 1.427 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.455, allocations: 4 kB / 1.427 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.455, allocations: 60.17 kB / 1.427 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/1.455, allocations: 88.27 kB / 1.427 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.455, allocations: 10.25 kB / 1.427 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/1.458, allocations: 4.033 MB / 1.431 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.458, allocations: 4 kB / 1.431 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/1.46, allocations: 0.8965 MB / 1.432 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/1.46, allocations: 162.8 kB / 1.432 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/1.46, allocations: 15.48 kB / 1.432 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/1.46, allocations: 18.23 kB / 1.432 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/1.46, allocations: 38.66 kB / 1.432 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/1.46, allocations: 12 kB / 1.432 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003186/1.461, allocations: 269.2 kB / 1.433 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/1.461, allocations: 4 kB / 1.433 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007456/1.461, allocations: 129.7 kB / 1.433 GB, free: 5.66 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002044/1.462, allocations: 115 kB / 1.433 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001294/1.463, allocations: 0.7869 MB / 1.434 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.463, allocations: 4 kB / 1.434 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/1.464, allocations: 0.5366 MB / 1.434 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/1.464, allocations: 119.1 kB / 1.434 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/1.465, allocations: 0.653 MB / 1.435 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/1.466, allocations: 0.8825 MB / 1.436 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003047/1.466, allocations: 100.5 kB / 1.436 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/1.467, allocations: 39.36 kB / 1.436 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/1.467, allocations: 0 / 1.436 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of Templates: time 0.01018/1.477, allocations: 5.323 MB / 1.441 GB, free: 13.05 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches