Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001395/0.001395, allocations: 195 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.837/2.837, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 67.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7511, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01705/0.7682, allocations: 11.06 MB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01164/0.7799, allocations: 5.859 MB / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.7824, allocations: 43.69 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.7879, allocations: 1.619 MB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.7919, allocations: 1.062 MB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.7944, allocations: 0.7406 MB / 1.037 GB, free: 14.37 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004141/0.7986, allocations: 2.86 MB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.8009, allocations: 1.31 MB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.8025, allocations: 0.7507 MB / 1.041 GB, free: 9.41 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.8039, allocations: 0.9299 MB / 1.042 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.8041, allocations: 80 kB / 1.042 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.8072, allocations: 1.466 MB / 1.044 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006268/0.8078, allocations: 0.4946 MB / 1.044 GB, free: 6.434 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.8088, allocations: 0.7497 MB / 1.045 GB, free: 5.68 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.8127, allocations: 2.457 MB / 1.047 GB, free: 3.215 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.8127, allocations: 0 / 1.047 GB, free: 3.215 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8127, allocations: 0 / 1.047 GB, free: 3.215 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.016e-05/0.8128, allocations: 0 / 1.047 GB, free: 3.215 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003443/0.8162, allocations: 1.864 MB / 1.049 GB, free: 1.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.8163, allocations: 12.03 kB / 1.049 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.8208, allocations: 0.6621 MB / 1.05 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.8226, allocations: 0.9224 MB / 1.051 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.8228, allocations: 86.91 kB / 1.051 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.823, allocations: 136.2 kB / 1.051 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/0.8271, allocations: 2.21 MB / 1.053 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/0.8271, allocations: 7.938 kB / 1.053 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.8273, allocations: 59.97 kB / 1.053 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002767/0.8276, allocations: 162.3 kB / 1.053 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/0.8311, allocations: 1.871 MB / 1.055 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.8461, allocations: 12.48 MB / 1.067 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/0.8507, allocations: 1.964 MB / 1.069 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009232/0.8516, allocations: 0.6011 MB / 1.07 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.8518, allocations: 110 kB / 1.07 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.8519, allocations: 43.55 kB / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=103): time 3.016e-06/0.8519, allocations: 0 / 1.07 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=110): time 0.006895/0.8588, allocations: 3.706 MB / 1.074 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.8589, allocations: 72.34 kB / 1.074 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.8602, allocations: 0.9126 MB / 1.075 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.8603, allocations: 45.7 kB / 1.075 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006398/0.8609, allocations: 0.7314 MB / 1.075 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.8613, allocations: 382.5 kB / 1.076 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/0.8618, allocations: 287.2 kB / 1.076 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8619, allocations: 301.1 kB / 1.076 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.8629, allocations: 0.6129 MB / 1.077 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.8645, allocations: 1.113 MB / 1.078 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/0.8673, allocations: 1.832 MB / 1.08 GB, free: 72 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/0.8673, allocations: 4 kB / 1.08 GB, free: 68 kB / 0.8262 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004169/0.8715, allocations: 2.096 MB / 1.082 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.8716, allocations: 15.94 kB / 1.082 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.8716, allocations: 16 kB / 1.082 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/0.8725, allocations: 259.4 kB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8738, allocations: 375.4 kB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.884, allocations: 10.77 MB / 1.093 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.8855, allocations: 127.8 kB / 1.093 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.8857, allocations: 72 kB / 1.093 GB, free: 1.227 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008187/0.8865, allocations: 409.2 kB / 1.094 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.8868, allocations: 126.5 kB / 1.094 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003145/0.8899, allocations: 1.679 MB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.8899, allocations: 12 kB / 1.095 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/0.89, allocations: 7.984 kB / 1.095 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.89, allocations: 3.984 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005732/0.8957, allocations: 3.294 MB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.8958, allocations: 8.125 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.8967, allocations: 219.6 kB / 1.099 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007749/0.8974, allocations: 246.6 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.8975, allocations: 27.94 kB / 1.099 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.9077, allocations: 10.74 MB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.9077, allocations: 7.938 kB / 1.11 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003347/0.9111, allocations: 1.8 MB / 1.111 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006696/0.9118, allocations: 311.3 kB / 1.112 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.912, allocations: 28 kB / 1.112 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.9127, allocations: 91.81 kB / 1.112 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.9129, allocations: 96.77 kB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.913, allocations: 31.98 kB / 1.112 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009483/0.914, allocations: 0.6255 MB / 1.112 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.914, allocations: 0 / 1.112 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001593/0.9156, allocations: 388 kB / 1.113 GB, free: 11.71 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002795/0.9159, allocations: 147.5 kB / 1.113 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.9202, allocations: 2.492 MB / 1.115 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9202, allocations: 0 / 1.115 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.9227, allocations: 1.63 MB / 1.117 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/0.9245, allocations: 330.5 kB / 1.117 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.9304, allocations: 3.372 MB / 1.121 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/0.9316, allocations: 1.331 MB / 1.122 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001172/0.9328, allocations: 359.3 kB / 1.122 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.9331, allocations: 95.42 kB / 1.122 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of SimCode: time 4.288e-06/0.9331, allocations: 0 / 1.122 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of Templates: time 0.03567/0.9688, allocations: 16.46 MB / 1.138 GB, free: 1.312 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches