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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001578/0.001578, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001745/0.001745, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8506/0.852, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0231/0.8751, allocations: 20.43 MB / 1.187 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.8878, allocations: 7.686 MB / 1.195 GB, free: 7.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.8899, allocations: 59.81 kB / 1.195 GB, free: 7.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.8938, allocations: 1.362 MB / 1.196 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.8969, allocations: 1.015 MB / 1.197 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00504/0.9019, allocations: 2.002 MB / 1.199 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005424/0.9074, allocations: 4.339 MB / 1.203 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008124/0.9155, allocations: 6.149 MB / 1.209 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.9183, allocations: 1.87 MB / 1.211 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.9224, allocations: 2.197 MB / 1.213 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001389/0.9238, allocations: 428 kB / 1.214 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.9263, allocations: 0.9402 MB / 1.215 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.9288, allocations: 1.653 MB / 1.216 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.932, allocations: 1.72 MB / 1.218 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007084/0.9391, allocations: 6.188 MB / 1.224 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9391, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9391, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000216/0.9394, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9512 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.008207/0.9476, allocations: 3.051 MB / 1.227 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.9476, allocations: 12.03 kB / 1.227 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.952, allocations: 0.7546 MB / 1.228 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.9562, allocations: 1.571 MB / 1.229 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.9565, allocations: 218.2 kB / 1.229 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.9576, allocations: 288.3 kB / 1.23 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.9683, allocations: 5.078 MB / 1.235 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.9685, allocations: 15.84 kB / 1.235 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006895/0.9692, allocations: 128 kB / 1.235 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/0.9695, allocations: 204.6 kB / 1.235 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008451/0.9779, allocations: 4.229 MB / 1.239 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/1.005, allocations: 22.92 MB / 1.262 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/1.009, allocations: 1.727 MB / 1.263 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/1.01, allocations: 1.156 MB / 1.264 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/1.01, allocations: 97.73 kB / 1.264 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/1.01, allocations: 43.22 kB / 1.264 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/1.01, allocations: 0 / 1.264 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.006497/1.017, allocations: 4.012 MB / 1.268 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/1.017, allocations: 141.7 kB / 1.269 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.018, allocations: 0.8643 MB / 1.269 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/1.019, allocations: 41.7 kB / 1.269 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/1.019, allocations: 1.166 MB / 1.271 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/1.02, allocations: 311.6 kB / 1.271 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/1.02, allocations: 278.5 kB / 1.271 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.02, allocations: 410.7 kB / 1.271 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.022, allocations: 0.8257 MB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/1.023, allocations: 1.314 MB / 1.274 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/1.026, allocations: 2.159 MB / 1.276 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/1.026, allocations: 4 kB / 1.276 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003615/1.03, allocations: 2.215 MB / 1.278 GB, free: 15.35 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/1.03, allocations: 8 kB / 1.278 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/1.03, allocations: 16 kB / 1.278 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.463e-05/1.03, allocations: 20 kB / 1.278 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.032, allocations: 419.2 kB / 1.278 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/1.032, allocations: 27.94 kB / 1.278 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.033, allocations: 211.3 kB / 1.279 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.033, allocations: 60.08 kB / 1.279 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002789/1.036, allocations: 1.685 MB / 1.28 GB, free: 12.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001505/1.038, allocations: 1.186 MB / 1.281 GB, free: 11.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002494/1.04, allocations: 1.906 MB / 1.283 GB, free: 9.379 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.169e-05/1.04, allocations: 11.94 kB / 1.283 GB, free: 9.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00324/1.043, allocations: 1.929 MB / 1.285 GB, free: 7.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.043, allocations: 12 kB / 1.285 GB, free: 7.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.043, allocations: 12 kB / 1.285 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.043, allocations: 24 kB / 1.285 GB, free: 7.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.045, allocations: 368 kB / 1.286 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.734e-05/1.045, allocations: 35.86 kB / 1.286 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.046, allocations: 171.3 kB / 1.286 GB, free: 6.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.047, allocations: 59.98 kB / 1.286 GB, free: 6.762 MB / 1.014 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.0003785/1.047, allocations: 267.8 kB / 1.286 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.047, allocations: 98.97 kB / 1.286 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/1.05, allocations: 1.854 MB / 1.288 GB, free: 4.531 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.05, allocations: 12 kB / 1.288 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.05, allocations: 0 / 1.288 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.05, allocations: 11.91 kB / 1.288 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/1.065, allocations: 9.596 MB / 1.297 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/1.065, allocations: 12 kB / 1.297 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.066, allocations: 311.5 kB / 1.298 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/1.066, allocations: 16 kB / 1.298 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/1.066, allocations: 27.94 kB / 1.298 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-05/1.066, allocations: 32.2 kB / 1.298 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.066, allocations: 19.94 kB / 1.298 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/1.069, allocations: 2.394 MB / 1.3 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.07, allocations: 375.6 kB / 1.3 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003361/1.071, allocations: 35.98 kB / 1.3 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.072, allocations: 143.7 kB / 1.301 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.072, allocations: 87.67 kB / 1.301 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/1.072, allocations: 40 kB / 1.301 GB, free: 7.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001066/1.073, allocations: 0.6161 MB / 1.301 GB, free: 6.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.073, allocations: 0 / 1.301 GB, free: 6.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002876/1.076, allocations: 0.7539 MB / 1.302 GB, free: 5.637 MB / 1.029 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.0002821/1.077, allocations: 142.9 kB / 1.302 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004656/1.081, allocations: 2.905 MB / 1.305 GB, free: 2.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.081, allocations: 8.25 kB / 1.305 GB, free: 2.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/1.083, allocations: 0.904 MB / 1.306 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/1.085, allocations: 319.5 kB / 1.306 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/1.094, allocations: 5.431 MB / 1.312 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/1.096, allocations: 2.195 MB / 1.314 GB, free: 9.535 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/1.097, allocations: 103.3 kB / 1.314 GB, free: 9.434 MB / 1.045 GB Notification: Performance of SimCode: time 8.12e-07/1.097, allocations: 0 / 1.314 GB, free: 9.434 MB / 1.045 GB Notification: Performance of Templates: time 0.04404/1.141, allocations: 28.23 MB / 1.341 GB, free: 13.29 MB / 1.076 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/jenkins1/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