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.336/2.336, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001222/0.001222, allocations: 194.4 kB / 0.4902 GB, free: 2.234 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.534/1.534, allocations: 223.2 MB / 0.7992 GB, free: 15.66 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.001049/0.001049, allocations: 104.2 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004114, allocations: 9.25 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3114, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2257/0.5372, allocations: 166 MB / 1.391 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.5375, allocations: 95.94 kB / 1.391 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7471/1.285, allocations: 30.46 MB / 1.421 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.924e-06/1.285, allocations: 4 kB / 1.421 GB, free: 167.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.083e-05/1.285, allocations: 15.33 kB / 1.421 GB, free: 167.4 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001792/1.287, allocations: 0.726 MB / 1.422 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.287, allocations: 9.75 kB / 1.422 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/1.288, allocations: 182.1 kB / 1.422 GB, free: 166.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/1.289, allocations: 406.9 kB / 1.423 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/1.289, allocations: 24.75 kB / 1.423 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.289, allocations: 32.98 kB / 1.423 GB, free: 166.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/1.291, allocations: 0.6909 MB / 1.423 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/1.291, allocations: 7.219 kB / 1.423 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/1.291, allocations: 18.92 kB / 1.423 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-05/1.291, allocations: 48.33 kB / 1.423 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/1.292, allocations: 494.5 kB / 1.424 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/1.295, allocations: 3.795 MB / 1.427 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/1.297, allocations: 0.6799 MB / 1.428 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/1.297, allocations: 6.734 kB / 1.428 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/1.297, allocations: 52.89 kB / 1.428 GB, free: 163 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/1.297, allocations: 3.938 kB / 1.428 GB, free: 163 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.002606/1.3, allocations: 1.264 MB / 1.429 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.3, allocations: 114.1 kB / 1.43 GB, free: 162.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/1.301, allocations: 348 kB / 1.43 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/1.301, allocations: 29.64 kB / 1.43 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/1.301, allocations: 271.7 kB / 1.43 GB, free: 162 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.301, allocations: 119.3 kB / 1.43 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/1.301, allocations: 9.625 kB / 1.43 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/1.301, allocations: 365.1 kB / 1.431 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/1.301, allocations: 168.1 kB / 1.431 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/1.302, allocations: 353.7 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/1.302, allocations: 221.5 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.302, allocations: 2.875 kB / 1.431 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001047/1.303, allocations: 0.6504 MB / 1.432 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.303, allocations: 7 kB / 1.432 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.303, allocations: 7.75 kB / 1.432 GB, free: 161.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/1.303, allocations: 97.95 kB / 1.432 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/1.304, allocations: 109.9 kB / 1.432 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/1.306, allocations: 4.067 MB / 1.436 GB, free: 157.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/1.307, allocations: 28.89 kB / 1.436 GB, free: 157.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/1.307, allocations: 22.78 kB / 1.436 GB, free: 157.4 MB / 0.9011 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 () * Number of clocked 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.0002692/1.307, allocations: 194.8 kB / 1.436 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/1.307, allocations: 47.25 kB / 1.436 GB, free: 157.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/1.308, allocations: 0.5177 MB / 1.437 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.308, allocations: 4.25 kB / 1.437 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.308, allocations: 6.266 kB / 1.437 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.308, allocations: 0 / 1.437 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/1.31, allocations: 1.282 MB / 1.438 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.31, allocations: 2.344 kB / 1.438 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/1.31, allocations: 64.03 kB / 1.438 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002571/1.311, allocations: 88.56 kB / 1.438 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.311, allocations: 8.625 kB / 1.438 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/1.313, allocations: 4.059 MB / 1.442 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.313, allocations: 11.66 kB / 1.442 GB, free: 152.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/1.314, allocations: 0.8996 MB / 1.443 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/1.314, allocations: 155.7 kB / 1.443 GB, free: 152 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/1.314, allocations: 8.531 kB / 1.443 GB, free: 152 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/1.315, allocations: 25.64 kB / 1.443 GB, free: 152 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/1.315, allocations: 36.7 kB / 1.443 GB, free: 152 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.315, allocations: 13.62 kB / 1.443 GB, free: 152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003302/1.315, allocations: 286 kB / 1.444 GB, free: 151.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/1.315, allocations: 0 / 1.444 GB, free: 151.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008208/1.316, allocations: 126 kB / 1.444 GB, free: 151.9 MB / 0.9011 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 () * Number of clocked 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.0002016/1.316, allocations: 120.1 kB / 1.444 GB, free: 151.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.318, allocations: 0.7927 MB / 1.445 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.318, allocations: 0 / 1.445 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/1.318, allocations: 0.5476 MB / 1.445 GB, free: 151.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/1.319, allocations: 120.6 kB / 1.445 GB, free: 151.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/1.321, allocations: 1.059 MB / 1.446 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/1.321, allocations: 0.8654 MB / 1.447 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003622/1.322, allocations: 103.5 kB / 1.447 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.322, allocations: 41.03 kB / 1.447 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of SimCode: time 7.21e-07/1.322, allocations: 0 / 1.447 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.01307/1.335, allocations: 5.31 MB / 1.453 GB, free: 148.8 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