Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008906, allocations: 91.53 kB / 16.02 MB, free: 80 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.001312/0.001313, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.273 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.558/2.558, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003496, allocations: 8 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6257, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04025/0.666, allocations: 36.02 MB / 1.059 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.6892, allocations: 13.63 MB / 1.072 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.6932, allocations: 95.62 kB / 1.072 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.6959, allocations: 0.5934 MB / 1.073 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.7004, allocations: 1.358 MB / 1.074 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006011/0.7064, allocations: 1.926 MB / 1.076 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.7175, allocations: 9.589 MB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02016/0.7377, allocations: 11.93 MB / 1.097 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.7417, allocations: 1.829 MB / 1.099 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005222/0.747, allocations: 2.706 MB / 1.102 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.7483, allocations: 256 kB / 1.102 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.7514, allocations: 1.084 MB / 1.103 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003524/0.755, allocations: 1.999 MB / 1.105 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003928/0.7589, allocations: 2.019 MB / 1.107 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008922/0.7679, allocations: 7.685 MB / 1.114 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.7679, allocations: 4 kB / 1.114 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.337e-06/0.7679, allocations: 0 / 1.114 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003179/0.7682, allocations: 0 / 1.114 GB, free: 2.766 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.009609/0.7779, allocations: 3.405 MB / 1.118 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.7779, allocations: 12.03 kB / 1.118 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/0.784, allocations: 1.03 MB / 1.119 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0053/0.7893, allocations: 2.191 MB / 1.121 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.7898, allocations: 333 kB / 1.121 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00204/0.7919, allocations: 416.4 kB / 1.121 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.8108, allocations: 7.42 MB / 1.129 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.8111, allocations: 11.88 kB / 1.129 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.8124, allocations: 184 kB / 1.129 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003941/0.8128, allocations: 286.9 kB / 1.129 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.826, allocations: 6.026 MB / 1.135 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/0.8723, allocations: 32.72 MB / 1.167 GB, free: 9.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.8763, allocations: 2.146 MB / 1.169 GB, free: 7.363 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.8783, allocations: 1.252 MB / 1.17 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.8785, allocations: 102 kB / 1.17 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.8786, allocations: 47.55 kB / 1.17 GB, free: 5.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=98): time 3.386e-06/0.8786, allocations: 4 kB / 1.17 GB, free: 5.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=101): time 0.009892/0.8885, allocations: 5.278 MB / 1.176 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.8886, allocations: 149.5 kB / 1.176 GB, free: 436 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.8911, allocations: 1.476 MB / 1.177 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.8913, allocations: 45.64 kB / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.8926, allocations: 1.863 MB / 1.179 GB, free: 13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000524/0.8932, allocations: 374.9 kB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.8936, allocations: 169.8 kB / 1.18 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8937, allocations: 305.1 kB / 1.18 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.8956, allocations: 1.132 MB / 1.181 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002741/0.8984, allocations: 2.219 MB / 1.183 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/0.9032, allocations: 3.438 MB / 1.186 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.9033, allocations: 8 kB / 1.187 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00631/0.9096, allocations: 3.374 MB / 1.19 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009397/0.9106, allocations: 1.087 MB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-05/0.9107, allocations: 39.98 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.959e-05/0.9108, allocations: 44 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.9132, allocations: 0.6317 MB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.532e-05/0.9133, allocations: 71.72 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.916, allocations: 326.7 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/0.9164, allocations: 116 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9165, allocations: 4 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005166/0.9216, allocations: 2.808 MB / 1.195 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.332e-05/0.9217, allocations: 40 kB / 1.195 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/0.9218, allocations: 44 kB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.9238, allocations: 0.5654 MB / 1.195 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-05/0.9239, allocations: 71.72 kB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.9256, allocations: 235 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/0.9259, allocations: 115.9 kB / 1.196 GB, free: 10.31 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.002883/0.9288, allocations: 1.71 MB / 1.197 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.9293, allocations: 154.1 kB / 1.198 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.9329, allocations: 2.25 MB / 1.2 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.933, allocations: 12 kB / 1.2 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.933, allocations: 4 kB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.933, allocations: 7.922 kB / 1.2 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.949, allocations: 10.99 MB / 1.211 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.9491, allocations: 8 kB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.9507, allocations: 396 kB / 1.211 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-05/0.9508, allocations: 20 kB / 1.211 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.9509, allocations: 32 kB / 1.211 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.086e-05/0.9509, allocations: 19.94 kB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/0.9509, allocations: 19.88 kB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/0.9545, allocations: 2.759 MB / 1.214 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/0.9554, allocations: 482.7 kB / 1.214 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/0.9558, allocations: 35.98 kB / 1.214 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9572, allocations: 179.7 kB / 1.214 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.9575, allocations: 100.2 kB / 1.215 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.9576, allocations: 44 kB / 1.215 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001791/0.9594, allocations: 1.005 MB / 1.216 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9594, allocations: 0 / 1.216 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004438/0.9638, allocations: 1.133 MB / 1.217 GB, free: 4.516 MB / 0.9669 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 (104): * Single equations (assignments): 104 * 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.0003426/0.9642, allocations: 146.9 kB / 1.217 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006627/0.9708, allocations: 4.05 MB / 1.221 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.9709, allocations: 0 / 1.221 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.9725, allocations: 1.056 MB / 1.222 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/0.9778, allocations: 419.1 kB / 1.222 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.9925, allocations: 9.461 MB / 1.231 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/0.9965, allocations: 2.946 MB / 1.234 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/0.9973, allocations: 139.4 kB / 1.234 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/0.9973, allocations: 0 / 1.234 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of Templates: time 0.5688/1.566, allocations: 40.7 MB / 1.274 GB, free: 204 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches