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.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.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.001592/0.001592, 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.00197/0.001971, allocations: 198.1 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.536/1.536, 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 3.032/3.032, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 0.8686 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7907, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02539/0.8161, allocations: 20.28 MB / 1.036 GB, free: 14.4 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.8296, allocations: 7.733 MB / 1.044 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.8315, allocations: 51.81 kB / 1.044 GB, free: 6.594 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003726/0.8353, allocations: 1.253 MB / 1.045 GB, free: 5.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002967/0.8383, allocations: 0.938 MB / 1.046 GB, free: 4.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00541/0.8437, allocations: 1.86 MB / 1.048 GB, free: 2.543 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008273/0.852, allocations: 6.453 MB / 1.054 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01066/0.8627, allocations: 6.848 MB / 1.061 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.8654, allocations: 1.55 MB / 1.062 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003918/0.8694, allocations: 2.251 MB / 1.065 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009464/0.8704, allocations: 292 kB / 1.065 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.8725, allocations: 0.9712 MB / 1.066 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.8744, allocations: 1.52 MB / 1.067 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.8767, allocations: 1.579 MB / 1.069 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00781/0.8845, allocations: 6.081 MB / 1.075 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8845, allocations: 0 / 1.075 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8845, allocations: 3.938 kB / 1.075 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001804/0.8847, allocations: 0 / 1.075 GB, free: 6.879 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.007118/0.8918, allocations: 3.044 MB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8919, allocations: 12.03 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.8956, allocations: 0.7506 MB / 1.079 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.8987, allocations: 1.544 MB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.899, allocations: 222.2 kB / 1.08 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006342/0.8996, allocations: 284.3 kB / 1.081 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009722/0.9093, allocations: 5.078 MB / 1.086 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.354e-05/0.9094, allocations: 7.938 kB / 1.086 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.9098, allocations: 120 kB / 1.086 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.91, allocations: 208.6 kB / 1.086 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00825/0.9183, allocations: 4.224 MB / 1.09 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.9481, allocations: 23.08 MB / 1.113 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.9513, allocations: 1.723 MB / 1.114 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.9531, allocations: 1.142 MB / 1.115 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.9533, allocations: 97.66 kB / 1.115 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.9534, allocations: 47.22 kB / 1.115 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.086e-06/0.9534, allocations: 0 / 1.115 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.007264/0.9606, allocations: 4.016 MB / 1.119 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.9608, allocations: 137.2 kB / 1.12 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.9621, allocations: 0.8681 MB / 1.12 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.9623, allocations: 41.7 kB / 1.12 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008608/0.9631, allocations: 1.162 MB / 1.122 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.9635, allocations: 303.7 kB / 1.122 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005098/0.964, allocations: 278.6 kB / 1.122 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002363/0.9642, allocations: 418.6 kB / 1.123 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.9657, allocations: 0.8179 MB / 1.123 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.9676, allocations: 1.314 MB / 1.125 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.9708, allocations: 2.163 MB / 1.127 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.9708, allocations: 4 kB / 1.127 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004052/0.9749, allocations: 2.214 MB / 1.129 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.9749, allocations: 10.19 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.975, allocations: 19.98 kB / 1.129 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.975, allocations: 23.94 kB / 1.129 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.9767, allocations: 419.9 kB / 1.129 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/0.9768, allocations: 31.86 kB / 1.129 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.9783, allocations: 211.3 kB / 1.13 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.9785, allocations: 63.97 kB / 1.13 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003847/0.9824, allocations: 1.685 MB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002086/0.9845, allocations: 1.186 MB / 1.132 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003151/0.9877, allocations: 1.898 MB / 1.134 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.122e-05/0.9877, allocations: 11.94 kB / 1.134 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.004435/0.9921, allocations: 1.918 MB / 1.136 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.9922, allocations: 12 kB / 1.136 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/0.9922, allocations: 16.12 kB / 1.136 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.9923, allocations: 24 kB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.9937, allocations: 367.3 kB / 1.137 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.295e-05/0.9938, allocations: 31.92 kB / 1.137 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.9954, allocations: 179.3 kB / 1.137 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.9955, allocations: 59.98 kB / 1.137 GB, free: 3.93 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.0005048/0.9961, allocations: 268.2 kB / 1.137 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.9964, allocations: 98.97 kB / 1.137 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/0.9999, allocations: 1.854 MB / 1.139 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.9999, allocations: 12.19 kB / 1.139 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.9999, allocations: 4 kB / 1.139 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.9999, allocations: 7.922 kB / 1.139 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/1.015, allocations: 9.596 MB / 1.148 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/1.016, allocations: 12.19 kB / 1.148 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.017, allocations: 311.5 kB / 1.149 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.543e-05/1.017, allocations: 16 kB / 1.149 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/1.017, allocations: 31.98 kB / 1.149 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-05/1.017, allocations: 27.88 kB / 1.149 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/1.017, allocations: 15.94 kB / 1.149 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/1.021, allocations: 2.394 MB / 1.151 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007814/1.021, allocations: 375.6 kB / 1.151 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.022, allocations: 35.89 kB / 1.151 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/1.023, allocations: 143.7 kB / 1.152 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/1.023, allocations: 95.61 kB / 1.152 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/1.023, allocations: 40 kB / 1.152 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001134/1.024, allocations: 0.616 MB / 1.152 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.024, allocations: 0 / 1.152 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002883/1.027, allocations: 0.7539 MB / 1.153 GB, free: 2.809 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.0002942/1.028, allocations: 146.9 kB / 1.153 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004865/1.032, allocations: 2.877 MB / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.032, allocations: 0 / 1.156 GB, free: 15.78 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/1.034, allocations: 0.9054 MB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.036, allocations: 286.8 kB / 1.157 GB, free: 14.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.047, allocations: 6.211 MB / 1.163 GB, free: 8.203 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002903/1.05, allocations: 2.124 MB / 1.165 GB, free: 6.043 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002464/1.052, allocations: 0.75 MB / 1.166 GB, free: 5.289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/1.053, allocations: 87.41 kB / 1.166 GB, free: 5.203 MB / 0.92 GB Notification: Performance of SimCode: time 7.42e-07/1.053, allocations: 3.938 kB / 1.166 GB, free: 5.199 MB / 0.92 GB Notification: Performance of Templates: time 0.03618/1.089, allocations: 17.29 MB / 1.183 GB, free: 4.055 MB / 0.9356 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=400 -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/jenkins/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