Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001435/0.001435, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001637/0.001636, allocations: 172.7 kB / 15.95 MB, free: 208 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.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.632/2.632, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003602, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7837, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02019/0.8039, allocations: 18.54 MB / 0.9725 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.816, allocations: 7.136 MB / 0.9795 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.8179, allocations: 51.62 kB / 0.9796 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.8191, allocations: 362.2 kB / 0.9799 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.8215, allocations: 0.7471 MB / 0.9806 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.8247, allocations: 1.017 MB / 0.9816 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005666/0.8304, allocations: 4.931 MB / 0.9864 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.8408, allocations: 6.552 MB / 0.9928 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.8433, allocations: 1.277 MB / 0.9941 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.847, allocations: 1.834 MB / 0.9959 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009071/0.8479, allocations: 172 kB / 0.996 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.8499, allocations: 427.6 kB / 0.9965 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002231/0.8522, allocations: 1.329 MB / 0.9978 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.854, allocations: 0.555 MB / 0.9983 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.8612, allocations: 5.137 MB / 1.003 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.8613, allocations: 4 kB / 1.003 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.018e-06/0.8613, allocations: 3.938 kB / 1.003 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002522/0.8616, allocations: 4 kB / 1.003 GB, free: 13.29 MB / 0.7637 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.006355/0.8679, allocations: 2.458 MB / 1.006 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.868, allocations: 16.03 kB / 1.006 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.8716, allocations: 0.6873 MB / 1.006 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.8746, allocations: 1.512 MB / 1.008 GB, free: 8.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.8748, allocations: 213.8 kB / 1.008 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008352/0.8757, allocations: 292 kB / 1.008 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.8863, allocations: 5.031 MB / 1.013 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/0.8864, allocations: 11.84 kB / 1.013 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.8867, allocations: 127.9 kB / 1.013 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002687/0.887, allocations: 212.6 kB / 1.014 GB, free: 2.438 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007513/0.8945, allocations: 4.161 MB / 1.018 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02499/0.9195, allocations: 23.01 MB / 1.04 GB, free: 5.113 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.9222, allocations: 1.723 MB / 1.042 GB, free: 3.355 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.9238, allocations: 1.129 MB / 1.043 GB, free: 2.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.9239, allocations: 101.8 kB / 1.043 GB, free: 2.094 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.924, allocations: 47.2 kB / 1.043 GB, free: 2.039 MB / 0.795 GB Notification: Performance of pre-optimization done (n=84): time 2.845e-06/0.924, allocations: 0 / 1.043 GB, free: 2.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=87): time 0.006309/0.9303, allocations: 3.989 MB / 1.047 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.9304, allocations: 149.2 kB / 1.047 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.9314, allocations: 0.833 MB / 1.048 GB, free: 13 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.63e-05/0.9315, allocations: 45.7 kB / 1.048 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008655/0.9324, allocations: 1.158 MB / 1.049 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.9327, allocations: 319.6 kB / 1.049 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.9328, allocations: 31.94 kB / 1.049 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.933, allocations: 402.7 kB / 1.05 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.9342, allocations: 0.7911 MB / 1.051 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.9358, allocations: 1.287 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.9373, allocations: 1.002 MB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9373, allocations: 4 kB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003521/0.9408, allocations: 2.164 MB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003825/0.9412, allocations: 0.5024 MB / 1.055 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.9412, allocations: 15.98 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.9413, allocations: 24 kB / 1.055 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9428, allocations: 411.3 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.063e-05/0.9429, allocations: 27.92 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.944, allocations: 195.4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.9441, allocations: 63.98 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.9441, allocations: 7.953 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002567/0.9467, allocations: 1.765 MB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.9467, allocations: 12 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.9467, allocations: 24 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.948, allocations: 360 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/0.948, allocations: 39.8 kB / 1.058 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008719/0.9489, allocations: 147.4 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/0.949, allocations: 56 kB / 1.058 GB, free: 1.73 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001967/0.9509, allocations: 1.172 MB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.9512, allocations: 102.9 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.9543, allocations: 1.862 MB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.9543, allocations: 8 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.9543, allocations: 4.094 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.9543, allocations: 7.922 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.9675, allocations: 9.572 MB / 1.071 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.9675, allocations: 12 kB / 1.071 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.9687, allocations: 307.5 kB / 1.071 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-05/0.9687, allocations: 20.53 kB / 1.071 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.9688, allocations: 35.98 kB / 1.071 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-05/0.9688, allocations: 23.88 kB / 1.071 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.9688, allocations: 15.94 kB / 1.071 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/0.9719, allocations: 2.406 MB / 1.074 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/0.9726, allocations: 395.4 kB / 1.074 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.9728, allocations: 31.98 kB / 1.074 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008235/0.9736, allocations: 139.8 kB / 1.074 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.9738, allocations: 91.7 kB / 1.074 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.9739, allocations: 36 kB / 1.074 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008765/0.9748, allocations: 0.5849 MB / 1.075 GB, free: 484 kB / 0.8262 GB Notification: Performance of sort global known variables: time 5.62e-07/0.9748, allocations: 0 / 1.075 GB, free: 484 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00262/0.9774, allocations: 0.7422 MB / 1.076 GB, free: 15.73 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002445/0.9777, allocations: 150.9 kB / 1.076 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.9822, allocations: 2.82 MB / 1.079 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.9823, allocations: 8.062 kB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.9837, allocations: 0.9115 MB / 1.079 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.9856, allocations: 285 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009058/0.9946, allocations: 6.011 MB / 1.086 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.9968, allocations: 2.135 MB / 1.088 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00203/0.9988, allocations: 0.7344 MB / 1.088 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.9992, allocations: 83.41 kB / 1.088 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of SimCode: time 1.162e-06/0.9992, allocations: 7.938 kB / 1.088 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of Templates: time 0.02979/1.029, allocations: 16.11 MB / 1.104 GB, free: 2.426 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches