Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 180.4 kB / 16.92 MB, free: 6.918 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437.8 MB / 0.7128 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003912, allocations: 12 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7221, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0224/0.7445, allocations: 19.64 MB / 1.043 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.7579, allocations: 7.648 MB / 1.05 GB, free: 4.488 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.76, allocations: 51.75 kB / 1.05 GB, free: 4.438 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.7614, allocations: 373.3 kB / 1.051 GB, free: 4.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.7643, allocations: 0.9419 MB / 1.052 GB, free: 3.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.7679, allocations: 1.317 MB / 1.053 GB, free: 1.812 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006716/0.7746, allocations: 6.453 MB / 1.059 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.7868, allocations: 7.51 MB / 1.067 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002452/0.7893, allocations: 1.253 MB / 1.068 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.7926, allocations: 1.881 MB / 1.07 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007751/0.7934, allocations: 176 kB / 1.07 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.7956, allocations: 0.8618 MB / 1.071 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.7975, allocations: 1.345 MB / 1.072 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.7997, allocations: 1.37 MB / 1.073 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004931/0.8047, allocations: 5.168 MB / 1.078 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8047, allocations: 0 / 1.078 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8047, allocations: 4 kB / 1.078 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001591/0.8049, allocations: 0 / 1.078 GB, free: 7.641 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.00583/0.8107, allocations: 2.447 MB / 1.081 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8108, allocations: 12.03 kB / 1.081 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004261/0.8151, allocations: 0.7546 MB / 1.082 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.8183, allocations: 1.544 MB / 1.083 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.8185, allocations: 226.1 kB / 1.083 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009915/0.8195, allocations: 284.4 kB / 1.084 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.8304, allocations: 5.078 MB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.8305, allocations: 11.88 kB / 1.088 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006391/0.8312, allocations: 124 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.8315, allocations: 212.6 kB / 1.089 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008175/0.8396, allocations: 4.232 MB / 1.093 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/0.8666, allocations: 23.08 MB / 1.115 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.8696, allocations: 1.735 MB / 1.117 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.8713, allocations: 1.134 MB / 1.118 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.8715, allocations: 97.73 kB / 1.118 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.8716, allocations: 51.16 kB / 1.118 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.146e-06/0.8716, allocations: 0 / 1.118 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.007006/0.8786, allocations: 4.028 MB / 1.122 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.8787, allocations: 141.2 kB / 1.122 GB, free: 7.883 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.88, allocations: 0.8643 MB / 1.123 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.8801, allocations: 45.7 kB / 1.123 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/0.8809, allocations: 1.158 MB / 1.124 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.8812, allocations: 311.6 kB / 1.125 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.8814, allocations: 101.7 kB / 1.125 GB, free: 5.367 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8816, allocations: 410.7 kB / 1.125 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.883, allocations: 0.8223 MB / 1.126 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.8848, allocations: 1.318 MB / 1.127 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.8878, allocations: 2.175 MB / 1.129 GB, free: 228 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.8879, allocations: 7.938 kB / 1.13 GB, free: 220 kB / 0.8731 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00384/0.8917, allocations: 2.219 MB / 1.132 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003641/0.8921, allocations: 0.4984 MB / 1.132 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.8922, allocations: 12 kB / 1.132 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.8922, allocations: 24 kB / 1.132 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.894, allocations: 419.3 kB / 1.133 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.894, allocations: 31.88 kB / 1.133 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.8955, allocations: 227.1 kB / 1.133 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.8957, allocations: 59.98 kB / 1.133 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8957, allocations: 4 kB / 1.133 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/0.899, allocations: 1.812 MB / 1.135 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.8991, allocations: 20.06 kB / 1.135 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.8991, allocations: 20 kB / 1.135 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.9006, allocations: 367.4 kB / 1.135 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.167e-05/0.9006, allocations: 23.94 kB / 1.135 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9018, allocations: 159.4 kB / 1.135 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.9019, allocations: 64.08 kB / 1.135 GB, free: 10.08 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002018/0.904, allocations: 1.184 MB / 1.136 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.9043, allocations: 98.78 kB / 1.137 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.9075, allocations: 1.858 MB / 1.138 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.9075, allocations: 12 kB / 1.138 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.9075, allocations: 0 / 1.138 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.9076, allocations: 3.984 kB / 1.138 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.9214, allocations: 9.607 MB / 1.148 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.9215, allocations: 12 kB / 1.148 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.9228, allocations: 308.2 kB / 1.148 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.859e-05/0.9229, allocations: 20 kB / 1.148 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.923, allocations: 35.98 kB / 1.148 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/0.923, allocations: 19.94 kB / 1.148 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.923, allocations: 15.94 kB / 1.148 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.9261, allocations: 2.413 MB / 1.151 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007457/0.9268, allocations: 387.5 kB / 1.151 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.9271, allocations: 28 kB / 1.151 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.9283, allocations: 151.8 kB / 1.151 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.9285, allocations: 95.55 kB / 1.151 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.9286, allocations: 36 kB / 1.151 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001035/0.9296, allocations: 0.6161 MB / 1.152 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9296, allocations: 0 / 1.152 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002799/0.9325, allocations: 0.7578 MB / 1.153 GB, free: 7.996 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/0.9327, allocations: 139 kB / 1.153 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00474/0.9375, allocations: 2.886 MB / 1.155 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.9375, allocations: 0 / 1.155 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.9389, allocations: 0.9198 MB / 1.156 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003423/0.9424, allocations: 292.7 kB / 1.157 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.953, allocations: 6.675 MB / 1.163 GB, free: 12.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/0.9557, allocations: 2.191 MB / 1.165 GB, free: 10.67 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006549/0.9564, allocations: 95.41 kB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of SimCode: time 1.022e-06/0.9564, allocations: 0 / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of Templates: time 0.04276/0.9992, allocations: 27.78 MB / 1.193 GB, free: 14.88 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches