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.001109/0.00111, allocations: 92.08 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.001457/0.001457, 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.426 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.731/2.731, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003701, allocations: 11.94 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7908/0.7912, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0213/0.8125, allocations: 18.53 MB / 1.041 GB, free: 13.44 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.8252, allocations: 7.138 MB / 1.047 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.8273, allocations: 51.81 kB / 1.048 GB, free: 6.234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.8286, allocations: 357.3 kB / 1.048 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.8313, allocations: 0.7547 MB / 1.049 GB, free: 5.125 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.8349, allocations: 1.017 MB / 1.05 GB, free: 4.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00689/0.8418, allocations: 4.942 MB / 1.054 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.8529, allocations: 6.536 MB / 1.061 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.8565, allocations: 1.277 MB / 1.062 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.8607, allocations: 1.834 MB / 1.064 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006818/0.8614, allocations: 176 kB / 1.064 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.863, allocations: 423.6 kB / 1.064 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.8647, allocations: 1.333 MB / 1.066 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.8658, allocations: 0.5589 MB / 1.066 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.8718, allocations: 5.137 MB / 1.071 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.8719, allocations: 0 / 1.071 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.527e-06/0.8719, allocations: 0 / 1.071 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000194/0.8721, allocations: 4 kB / 1.071 GB, free: 13.79 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.005862/0.878, allocations: 2.47 MB / 1.074 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.878, allocations: 12.56 kB / 1.074 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.8813, allocations: 0.6796 MB / 1.074 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.8841, allocations: 1.512 MB / 1.076 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.8843, allocations: 217.8 kB / 1.076 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005064/0.8848, allocations: 295.8 kB / 1.076 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009451/0.8943, allocations: 5.031 MB / 1.081 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.567e-05/0.8944, allocations: 7.938 kB / 1.081 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/0.8947, allocations: 124 kB / 1.081 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002622/0.895, allocations: 208.6 kB / 1.082 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007859/0.9028, allocations: 4.161 MB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.9352, allocations: 23.02 MB / 1.108 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.9385, allocations: 1.719 MB / 1.11 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.9401, allocations: 1.118 MB / 1.111 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.9403, allocations: 105.7 kB / 1.111 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.9404, allocations: 43.22 kB / 1.111 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=84): time 2.635e-06/0.9404, allocations: 0 / 1.111 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87): time 0.006279/0.9467, allocations: 3.993 MB / 1.115 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/0.9468, allocations: 145 kB / 1.115 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.9481, allocations: 0.8408 MB / 1.116 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.9482, allocations: 45.7 kB / 1.116 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008488/0.9491, allocations: 1.162 MB / 1.117 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.9494, allocations: 307.6 kB / 1.117 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.9495, allocations: 28 kB / 1.117 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.9497, allocations: 410.7 kB / 1.118 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.951, allocations: 0.7911 MB / 1.119 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.9525, allocations: 1.287 MB / 1.12 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.954, allocations: 1.002 MB / 1.121 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.954, allocations: 4 kB / 1.121 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003462/0.9575, allocations: 2.167 MB / 1.123 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004588/0.9579, allocations: 0.5028 MB / 1.123 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.958, allocations: 12 kB / 1.123 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.65e-05/0.958, allocations: 28 kB / 1.123 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.9595, allocations: 411.3 kB / 1.124 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/0.9595, allocations: 23.94 kB / 1.124 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.9606, allocations: 195.3 kB / 1.124 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.9608, allocations: 63.98 kB / 1.124 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.9608, allocations: 7.938 kB / 1.124 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002786/0.9636, allocations: 1.761 MB / 1.126 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/0.9636, allocations: 15.98 kB / 1.126 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.9637, allocations: 24 kB / 1.126 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.9648, allocations: 355.4 kB / 1.126 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.901e-05/0.9649, allocations: 35.86 kB / 1.126 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/0.9657, allocations: 147.4 kB / 1.126 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.9658, allocations: 60.14 kB / 1.126 GB, free: 2.238 MB / 0.8731 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.001833/0.9677, allocations: 1.18 MB / 1.128 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.968, allocations: 106.7 kB / 1.128 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.9709, allocations: 1.85 MB / 1.129 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9709, allocations: 8 kB / 1.13 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.971, allocations: 4 kB / 1.13 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.971, allocations: 3.984 kB / 1.13 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/0.9849, allocations: 9.584 MB / 1.139 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.985, allocations: 12 kB / 1.139 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.9862, allocations: 319.4 kB / 1.139 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-05/0.9862, allocations: 20 kB / 1.139 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/0.9863, allocations: 24 kB / 1.139 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-05/0.9863, allocations: 27.92 kB / 1.139 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.9863, allocations: 15.94 kB / 1.139 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.9897, allocations: 2.402 MB / 1.142 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/0.9904, allocations: 387.5 kB / 1.142 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.9905, allocations: 35.92 kB / 1.142 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008496/0.9914, allocations: 139.8 kB / 1.142 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.9916, allocations: 91.69 kB / 1.142 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.169e-05/0.9917, allocations: 35.95 kB / 1.142 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008233/0.9925, allocations: 0.581 MB / 1.143 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9925, allocations: 0 / 1.143 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002609/0.9951, allocations: 0.75 MB / 1.144 GB, free: 236 kB / 0.8887 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.0002563/0.9954, allocations: 146.9 kB / 1.144 GB, free: 80 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.9998, allocations: 2.826 MB / 1.146 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.9999, allocations: 4 kB / 1.146 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.001, allocations: 0.908 MB / 1.147 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.003, allocations: 277.5 kB / 1.148 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/1.011, allocations: 6.019 MB / 1.154 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/1.014, allocations: 2.131 MB / 1.156 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001974/1.016, allocations: 0.7383 MB / 1.156 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/1.016, allocations: 79.42 kB / 1.156 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of SimCode: time 7.72e-07/1.016, allocations: 0 / 1.156 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of Templates: time 0.02922/1.045, allocations: 16.13 MB / 1.172 GB, free: 2.914 MB / 0.92 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/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