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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001668/0.001668, allocations: 103.5 kB / 16.27 MB, free: 5.961 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.001869/0.001869, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 67.08 kB / 0.8132 GB, free: 32.99 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2424, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02403/0.2665, allocations: 20.42 MB / 0.9702 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.2802, allocations: 7.702 MB / 0.9777 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.2824, allocations: 59.81 kB / 0.9778 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.2865, allocations: 1.349 MB / 0.9791 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.2896, allocations: 1.004 MB / 0.9801 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005674/0.2953, allocations: 1.994 MB / 0.982 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005413/0.3008, allocations: 4.324 MB / 0.9863 GB, free: 3.922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.3117, allocations: 6.262 MB / 0.9924 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003871/0.3156, allocations: 1.835 MB / 0.9942 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004008/0.3197, allocations: 2.197 MB / 0.9963 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.3214, allocations: 428 kB / 0.9967 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.3242, allocations: 0.948 MB / 0.9977 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002638/0.3268, allocations: 1.653 MB / 0.9993 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003568/0.3304, allocations: 1.716 MB / 1.001 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00773/0.3382, allocations: 6.139 MB / 1.007 GB, free: 14.64 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3382, allocations: 3.938 kB / 1.007 GB, free: 14.64 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3383, allocations: 0 / 1.007 GB, free: 14.64 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002137/0.3385, allocations: 0 / 1.007 GB, free: 14.64 MB / 0.795 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.008065/0.3466, allocations: 3.04 MB / 1.01 GB, free: 11.54 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3466, allocations: 12.03 kB / 1.01 GB, free: 11.53 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003934/0.3506, allocations: 0.7467 MB / 1.011 GB, free: 10.78 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.3539, allocations: 1.547 MB / 1.012 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.3542, allocations: 218.2 kB / 1.012 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009921/0.3552, allocations: 288.3 kB / 1.013 GB, free: 8.691 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/0.3675, allocations: 5.078 MB / 1.018 GB, free: 3.426 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.061e-05/0.3676, allocations: 11.94 kB / 1.018 GB, free: 3.414 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004752/0.3681, allocations: 132 kB / 1.018 GB, free: 3.285 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.3684, allocations: 208.6 kB / 1.018 GB, free: 3.078 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008552/0.3769, allocations: 4.22 MB / 1.022 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02675/0.4037, allocations: 23.07 MB / 1.045 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.4066, allocations: 1.731 MB / 1.046 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.4083, allocations: 1.137 MB / 1.047 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4085, allocations: 109.7 kB / 1.047 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4085, allocations: 43.16 kB / 1.048 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=84): time 3.477e-06/0.4085, allocations: 0 / 1.048 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87): time 0.006115/0.4146, allocations: 4.008 MB / 1.051 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.4148, allocations: 145.7 kB / 1.052 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4162, allocations: 0.872 MB / 1.052 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.4163, allocations: 41.7 kB / 1.052 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.4171, allocations: 1.15 MB / 1.054 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.4175, allocations: 319.5 kB / 1.054 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.4179, allocations: 270.6 kB / 1.054 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4181, allocations: 410.7 kB / 1.055 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.4195, allocations: 0.8257 MB / 1.055 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.4211, allocations: 1.314 MB / 1.057 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/0.4241, allocations: 2.167 MB / 1.059 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.4241, allocations: 4 kB / 1.059 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003667/0.4278, allocations: 2.211 MB / 1.061 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.4279, allocations: 16 kB / 1.061 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.4279, allocations: 12 kB / 1.061 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/0.4279, allocations: 24 kB / 1.061 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.4296, allocations: 411.3 kB / 1.061 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.243e-05/0.4297, allocations: 31.86 kB / 1.061 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.4312, allocations: 215.3 kB / 1.062 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4313, allocations: 63.97 kB / 1.062 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002869/0.4342, allocations: 1.679 MB / 1.063 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001505/0.4357, allocations: 1.19 MB / 1.064 GB, free: 428 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002594/0.4383, allocations: 1.902 MB / 1.066 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.176e-05/0.4383, allocations: 11.94 kB / 1.066 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003179/0.4415, allocations: 1.921 MB / 1.068 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4416, allocations: 12 kB / 1.068 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.4416, allocations: 19.98 kB / 1.068 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4416, allocations: 20 kB / 1.068 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.443, allocations: 375.9 kB / 1.069 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.4431, allocations: 27.92 kB / 1.069 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.4444, allocations: 175.3 kB / 1.069 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4446, allocations: 59.98 kB / 1.069 GB, free: 11.69 MB / 0.8575 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.0003967/0.445, allocations: 271.7 kB / 1.069 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.4452, allocations: 102.7 kB / 1.069 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.4482, allocations: 1.846 MB / 1.071 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.4483, allocations: 8 kB / 1.071 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4483, allocations: 4 kB / 1.071 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4483, allocations: 3.984 kB / 1.071 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4786/0.9269, allocations: 9.596 MB / 1.08 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/0.927, allocations: 12.58 kB / 1.08 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/0.9286, allocations: 310.2 kB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.358e-05/0.9286, allocations: 16.09 kB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/0.9287, allocations: 30.91 kB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-05/0.9288, allocations: 25.69 kB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-05/0.9288, allocations: 20.03 kB / 1.081 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.9322, allocations: 2.403 MB / 1.083 GB, free: 122.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.9329, allocations: 372.2 kB / 1.084 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.9331, allocations: 34.02 kB / 1.084 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.9341, allocations: 144.6 kB / 1.084 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.9344, allocations: 93.92 kB / 1.084 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.9345, allocations: 39.2 kB / 1.084 GB, free: 122.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001021/0.9355, allocations: 0.6147 MB / 1.084 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9355, allocations: 0 / 1.084 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002924/0.9384, allocations: 0.754 MB / 1.085 GB, free: 122.3 MB / 0.8575 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.000262/0.9387, allocations: 145.6 kB / 1.085 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.005723/0.9444, allocations: 3.046 MB / 1.088 GB, free: 121.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.9445, allocations: 3.938 kB / 1.088 GB, free: 121.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.9459, allocations: 0.905 MB / 1.089 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.948, allocations: 309.9 kB / 1.089 GB, free: 120.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.9576, allocations: 5.486 MB / 1.095 GB, free: 118.2 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/0.9603, allocations: 2.196 MB / 1.097 GB, free: 117.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.961, allocations: 95.8 kB / 1.097 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of SimCode: time 1.543e-06/0.961, allocations: 0 / 1.097 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.05715/1.018, allocations: 28.09 MB / 1.124 GB, free: 108 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/jenkins1/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