Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001143/0.001144, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001267/0.001268, allocations: 168.7 kB / 15.95 MB, free: 204 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.588/1.588, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.913/2.913, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004743, allocations: 13 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02063/0.3799, allocations: 18.53 MB / 1.076 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.393, allocations: 7.146 MB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.395, allocations: 51.81 kB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.3961, allocations: 357.4 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.3981, allocations: 0.7507 MB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.4016, allocations: 1.014 MB / 1.085 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00578/0.4074, allocations: 4.931 MB / 1.09 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009916/0.4173, allocations: 6.544 MB / 1.096 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.4195, allocations: 1.273 MB / 1.098 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.4223, allocations: 1.834 MB / 1.099 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.4227, allocations: 176 kB / 1.1 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.4237, allocations: 439.5 kB / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.4251, allocations: 1.333 MB / 1.101 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006973/0.4258, allocations: 0.555 MB / 1.102 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005092/0.4309, allocations: 5.128 MB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4309, allocations: 0 / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.083e-06/0.4309, allocations: 4 kB / 1.107 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001323/0.4311, allocations: 4 kB / 1.107 GB, free: 3.109 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.004793/0.4359, allocations: 2.47 MB / 1.109 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4359, allocations: 12.03 kB / 1.109 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.439, allocations: 0.6836 MB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.4429, allocations: 1.515 MB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.4431, allocations: 213.8 kB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006622/0.4438, allocations: 295.9 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.4566, allocations: 5.023 MB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.112e-05/0.4567, allocations: 7.938 kB / 1.117 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/0.457, allocations: 124 kB / 1.117 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/0.4573, allocations: 208.6 kB / 1.117 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008543/0.4659, allocations: 4.161 MB / 1.121 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.4948, allocations: 23.02 MB / 1.144 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.4977, allocations: 1.723 MB / 1.145 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.4994, allocations: 1.118 MB / 1.147 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.4995, allocations: 105.7 kB / 1.147 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.4996, allocations: 51.19 kB / 1.147 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/0.4996, allocations: 0 / 1.147 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=87): time 0.006356/0.506, allocations: 3.993 MB / 1.151 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/0.5061, allocations: 149.2 kB / 1.151 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5073, allocations: 0.8369 MB / 1.152 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.5074, allocations: 41.7 kB / 1.152 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007467/0.5082, allocations: 1.154 MB / 1.153 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.5085, allocations: 315.6 kB / 1.153 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.5086, allocations: 28 kB / 1.153 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5088, allocations: 402.7 kB / 1.153 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.51, allocations: 0.7911 MB / 1.154 GB, free: 60 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.5116, allocations: 1.295 MB / 1.155 GB, free: 14.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.5131, allocations: 1.002 MB / 1.156 GB, free: 13.54 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.5131, allocations: 4 kB / 1.156 GB, free: 13.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003473/0.5166, allocations: 2.164 MB / 1.159 GB, free: 11.36 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004072/0.5171, allocations: 0.4986 MB / 1.159 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.5171, allocations: 12 kB / 1.159 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.534e-05/0.5171, allocations: 24 kB / 1.159 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.5187, allocations: 415.2 kB / 1.159 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.781e-05/0.5187, allocations: 27.94 kB / 1.159 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.52, allocations: 203.3 kB / 1.16 GB, free: 9.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.5201, allocations: 59.98 kB / 1.16 GB, free: 9.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.5202, allocations: 4 kB / 1.16 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/0.5231, allocations: 1.764 MB / 1.161 GB, free: 8.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.5231, allocations: 12 kB / 1.161 GB, free: 8.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.5232, allocations: 24 kB / 1.161 GB, free: 8.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.5244, allocations: 360.1 kB / 1.162 GB, free: 7.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.987e-05/0.5245, allocations: 35.86 kB / 1.162 GB, free: 7.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5255, allocations: 147.4 kB / 1.162 GB, free: 7.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.5257, allocations: 56 kB / 1.162 GB, free: 7.551 MB / 0.92 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.002313/0.528, allocations: 1.176 MB / 1.163 GB, free: 6.363 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.5284, allocations: 102.7 kB / 1.163 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003366/0.5318, allocations: 1.854 MB / 1.165 GB, free: 4.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5318, allocations: 11.94 kB / 1.165 GB, free: 4.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.5318, allocations: 4 kB / 1.165 GB, free: 4.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5318, allocations: 3.984 kB / 1.165 GB, free: 4.371 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.5478, allocations: 9.576 MB / 1.174 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-05/0.5479, allocations: 12 kB / 1.174 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.5492, allocations: 308.1 kB / 1.175 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.047e-05/0.5492, allocations: 24 kB / 1.175 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.5494, allocations: 31.98 kB / 1.175 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.432e-05/0.5494, allocations: 19.94 kB / 1.175 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.5494, allocations: 19.88 kB / 1.175 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.5525, allocations: 2.413 MB / 1.177 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/0.5533, allocations: 383.6 kB / 1.178 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.5536, allocations: 31.92 kB / 1.178 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5546, allocations: 139.8 kB / 1.178 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.5548, allocations: 95.66 kB / 1.178 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.5549, allocations: 36 kB / 1.178 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001022/0.5559, allocations: 0.581 MB / 1.178 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.556, allocations: 4 kB / 1.178 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003201/0.5592, allocations: 0.7422 MB / 1.179 GB, free: 5.551 MB / 0.9356 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.0003032/0.5595, allocations: 146.9 kB / 1.179 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004914/0.5644, allocations: 2.835 MB / 1.182 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.5644, allocations: 4 kB / 1.182 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.5658, allocations: 0.9079 MB / 1.183 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.5679, allocations: 283.7 kB / 1.183 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/0.5775, allocations: 6.016 MB / 1.189 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/0.5801, allocations: 2.139 MB / 1.191 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00216/0.5823, allocations: 0.7344 MB / 1.192 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.5828, allocations: 83.41 kB / 1.192 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of SimCode: time 9.72e-07/0.5828, allocations: 3.938 kB / 1.192 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of Templates: time 0.03323/0.616, allocations: 16.12 MB / 1.208 GB, free: 8.227 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches