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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.028/3.028, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003886, allocations: 7.906 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004317/0.3444, allocations: 3.748 MB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.3478, allocations: 2.215 MB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003844/0.3483, allocations: 15.88 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3486, allocations: 71.36 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000873/0.3494, allocations: 286.6 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.3502, allocations: 229.3 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.351, allocations: 0.7334 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.3518, allocations: 418.8 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.3522, allocations: 223 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.3526, allocations: 251 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.3527, allocations: 16 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.3532, allocations: 219.7 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.3533, allocations: 123.6 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.3535, allocations: 109.5 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006333/0.3542, allocations: 0.5378 MB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3542, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3542, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.3542, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8262 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.001045/0.3553, allocations: 0.7052 MB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3553, allocations: 15.95 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.3567, allocations: 179.2 kB / 1.068 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007369/0.3575, allocations: 403.4 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.3575, allocations: 24.98 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.3576, allocations: 32 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.3587, allocations: 0.6428 MB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.3587, allocations: 11.98 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.3588, allocations: 15.98 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-05/0.3589, allocations: 51.97 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.3597, allocations: 0.4915 MB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.3631, allocations: 3.79 MB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3648, allocations: 0.6244 MB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.365, allocations: 174.5 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.3651, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3651, allocations: 38.5 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.365e-06/0.3651, allocations: 4 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002382/0.3675, allocations: 1.27 MB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.3676, allocations: 114.8 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.3681, allocations: 397.7 kB / 1.076 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3681, allocations: 33.64 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.3683, allocations: 287.4 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3684, allocations: 118.4 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.3685, allocations: 8 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3686, allocations: 354.8 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.3689, allocations: 177 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.3693, allocations: 379.2 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.3697, allocations: 227.9 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3697, allocations: 0 / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001038/0.3707, allocations: 0.6793 MB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3708, allocations: 9.562 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3708, allocations: 8 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.3711, allocations: 98.5 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.3715, allocations: 111.8 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.3747, allocations: 4.025 MB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.375, allocations: 31.97 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3751, allocations: 24 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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.0002337/0.3753, allocations: 201.7 kB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3754, allocations: 51.38 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.3763, allocations: 0.5069 MB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3763, allocations: 4 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3763, allocations: 7.953 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3763, allocations: 4 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.378, allocations: 1.276 MB / 1.084 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3781, allocations: 4 kB / 1.084 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.3783, allocations: 67.97 kB / 1.084 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.3785, allocations: 90.39 kB / 1.084 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3786, allocations: 12 kB / 1.084 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.3814, allocations: 4.034 MB / 1.088 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.3814, allocations: 7.938 kB / 1.088 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.3823, allocations: 0.7699 MB / 1.089 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.3825, allocations: 156.5 kB / 1.089 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3826, allocations: 8 kB / 1.089 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.3829, allocations: 23.97 kB / 1.089 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.3829, allocations: 35.86 kB / 1.089 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.383, allocations: 16 kB / 1.089 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002665/0.3832, allocations: 275.1 kB / 1.089 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3832, allocations: 0 / 1.089 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006599/0.3839, allocations: 124 kB / 1.09 GB, free: 3.18 MB / 0.8419 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.0001421/0.3841, allocations: 117.2 kB / 1.09 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.3852, allocations: 0.8063 MB / 1.09 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3852, allocations: 0 / 1.09 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006255/0.3859, allocations: 0.5435 MB / 1.091 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00086/0.3867, allocations: 130.9 kB / 1.091 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3882, allocations: 1.051 MB / 1.092 GB, free: 408 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.3886, allocations: 0.8625 MB / 1.093 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.3889, allocations: 100.5 kB / 1.093 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.389, allocations: 35.42 kB / 1.093 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.389, allocations: 4 kB / 1.093 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of Templates: time 0.009824/0.3988, allocations: 5.308 MB / 1.098 GB, free: 10.11 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches