Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0019/0.0019, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002142/0.002142, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 469.8 MB / 0.742 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 74.11 kB / 0.9081 GB, free: 34.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3255, allocations: 159.2 MB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02644/0.3519, allocations: 20.27 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.3665, allocations: 7.623 MB / 1.091 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.369, allocations: 51.81 kB / 1.091 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/0.3731, allocations: 1.262 MB / 1.092 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.3763, allocations: 0.9224 MB / 1.093 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005143/0.3814, allocations: 1.862 MB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005766/0.3872, allocations: 4.339 MB / 1.099 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.3993, allocations: 7.33 MB / 1.106 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.4027, allocations: 1.858 MB / 1.108 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00383/0.4065, allocations: 2.314 MB / 1.11 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.4078, allocations: 431.9 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.4106, allocations: 0.9402 MB / 1.112 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.4136, allocations: 1.661 MB / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003982/0.4176, allocations: 1.716 MB / 1.115 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008543/0.4261, allocations: 6.186 MB / 1.121 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.4262, allocations: 0 / 1.121 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4262, allocations: 0 / 1.121 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002407/0.4265, allocations: 4 kB / 1.121 GB, free: 3.684 MB / 0.8731 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.007122/0.4336, allocations: 3.044 MB / 1.124 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4337, allocations: 8.031 kB / 1.124 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.4372, allocations: 0.7506 MB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.44, allocations: 1.547 MB / 1.126 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.4402, allocations: 218.1 kB / 1.126 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005169/0.4407, allocations: 284.4 kB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009355/0.4501, allocations: 5.074 MB / 1.132 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.304e-05/0.4502, allocations: 11.92 kB / 1.132 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004595/0.4507, allocations: 124 kB / 1.132 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002721/0.4509, allocations: 208.6 kB / 1.132 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007691/0.4586, allocations: 4.224 MB / 1.136 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.4872, allocations: 23.07 MB / 1.159 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.4902, allocations: 1.727 MB / 1.16 GB, free: 8.914 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.4919, allocations: 1.15 MB / 1.161 GB, free: 7.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.4921, allocations: 97.73 kB / 1.161 GB, free: 7.641 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.4922, allocations: 43.22 kB / 1.161 GB, free: 7.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 5.48e-06/0.4922, allocations: 4 kB / 1.161 GB, free: 7.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.006627/0.4988, allocations: 4.008 MB / 1.165 GB, free: 3.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4989, allocations: 141.7 kB / 1.165 GB, free: 3.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.5002, allocations: 0.8682 MB / 1.166 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/0.5003, allocations: 41.7 kB / 1.166 GB, free: 2.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/0.5011, allocations: 1.162 MB / 1.168 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.5014, allocations: 307.6 kB / 1.168 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004649/0.5019, allocations: 274.6 kB / 1.168 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5021, allocations: 410.7 kB / 1.168 GB, free: 288 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.5035, allocations: 0.8257 MB / 1.169 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.5053, allocations: 1.314 MB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.5084, allocations: 2.159 MB / 1.173 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5084, allocations: 4 kB / 1.173 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003742/0.5122, allocations: 2.218 MB / 1.175 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.5122, allocations: 9.562 kB / 1.175 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.5123, allocations: 16 kB / 1.175 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.5123, allocations: 24.03 kB / 1.175 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.514, allocations: 415.2 kB / 1.175 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-05/0.5141, allocations: 31.92 kB / 1.175 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.5155, allocations: 211.4 kB / 1.176 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5156, allocations: 67.97 kB / 1.176 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002629/0.5182, allocations: 1.677 MB / 1.177 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001618/0.5199, allocations: 1.19 MB / 1.178 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002643/0.5225, allocations: 1.906 MB / 1.18 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.5e-05/0.5226, allocations: 11.92 kB / 1.18 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003256/0.5258, allocations: 1.929 MB / 1.182 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5259, allocations: 8 kB / 1.182 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.5259, allocations: 16 kB / 1.182 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.5259, allocations: 27.98 kB / 1.182 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.5272, allocations: 368.1 kB / 1.183 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-05/0.5273, allocations: 31.86 kB / 1.183 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.5285, allocations: 179.3 kB / 1.183 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5287, allocations: 63.98 kB / 1.183 GB, free: 0.7227 MB / 0.9356 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.00037/0.529, allocations: 267.7 kB / 1.183 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.5293, allocations: 98.78 kB / 1.183 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/0.5323, allocations: 1.843 MB / 1.185 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.5323, allocations: 12 kB / 1.185 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5323, allocations: 3.938 kB / 1.185 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5323, allocations: 3.984 kB / 1.185 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.5461, allocations: 9.588 MB / 1.194 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.5462, allocations: 12 kB / 1.194 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.5474, allocations: 304.2 kB / 1.195 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/0.5474, allocations: 20 kB / 1.195 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.5475, allocations: 35.98 kB / 1.195 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.118e-05/0.5476, allocations: 27.81 kB / 1.195 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.5476, allocations: 15.94 kB / 1.195 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.5507, allocations: 2.398 MB / 1.197 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006448/0.5513, allocations: 375.5 kB / 1.197 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.5515, allocations: 39.92 kB / 1.197 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.5526, allocations: 143.7 kB / 1.198 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.5528, allocations: 87.67 kB / 1.198 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/0.5529, allocations: 40 kB / 1.198 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000942/0.5538, allocations: 0.6239 MB / 1.198 GB, free: 368 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.5538, allocations: 0 / 1.198 GB, free: 368 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002689/0.5565, allocations: 0.75 MB / 1.199 GB, free: 15.61 MB / 0.9669 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.0002593/0.5568, allocations: 139 kB / 1.199 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00491/0.5617, allocations: 3.053 MB / 1.202 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.5617, allocations: 0 / 1.202 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.5631, allocations: 0.9152 MB / 1.203 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.565, allocations: 316 kB / 1.203 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.5761, allocations: 6.206 MB / 1.209 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003184/0.5794, allocations: 2.124 MB / 1.212 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00229/0.5817, allocations: 0.75 MB / 1.212 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.5822, allocations: 83.42 kB / 1.212 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of SimCode: time 1.833e-06/0.5822, allocations: 0 / 1.212 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of Templates: time 0.03372/0.6159, allocations: 17.83 MB / 1.23 GB, free: 164 kB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches