Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006879/0.006879, allocations: 98.44 kB / 15.73 MB, free: 6.008 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.001272/0.001272, allocations: 195.5 kB / 16.68 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3364, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01281/0.3493, allocations: 11.12 MB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008922/0.3582, allocations: 5.812 MB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.3592, allocations: 47.69 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.3633, allocations: 1.734 MB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.3665, allocations: 1.186 MB / 1.24 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.3687, allocations: 0.8104 MB / 1.241 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002734/0.3714, allocations: 2.123 MB / 1.243 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.3727, allocations: 1.037 MB / 1.244 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.374, allocations: 0.8601 MB / 1.245 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.3752, allocations: 0.9104 MB / 1.246 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.3754, allocations: 116 kB / 1.246 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.3774, allocations: 1.173 MB / 1.247 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.3779, allocations: 0.5452 MB / 1.247 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.3787, allocations: 0.7888 MB / 1.248 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7005/1.079, allocations: 2.436 MB / 1.251 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.079, allocations: 0 / 1.251 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/1.079, allocations: 0.7812 kB / 1.251 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.173e-05/1.079, allocations: 0.5625 kB / 1.251 GB, free: 10.34 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003603/1.083, allocations: 1.914 MB / 1.252 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.083, allocations: 13.16 kB / 1.252 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/1.088, allocations: 0.6754 MB / 1.253 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/1.09, allocations: 1.018 MB / 1.254 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/1.09, allocations: 96.28 kB / 1.254 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/1.09, allocations: 127.9 kB / 1.254 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/1.094, allocations: 2.205 MB / 1.256 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/1.094, allocations: 16.03 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/1.094, allocations: 59.06 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/1.094, allocations: 166.1 kB / 1.257 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/1.097, allocations: 1.869 MB / 1.259 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/1.108, allocations: 12.44 MB / 1.271 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/1.113, allocations: 1.875 MB / 1.273 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/1.114, allocations: 0.5582 MB / 1.273 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.114, allocations: 100.2 kB / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.114, allocations: 49.14 kB / 1.273 GB, free: 14.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=103): time 2.945e-06/1.114, allocations: 0 / 1.273 GB, free: 14.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.006933/1.121, allocations: 3.719 MB / 1.277 GB, free: 13.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.121, allocations: 68.06 kB / 1.277 GB, free: 13.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.123, allocations: 0.9237 MB / 1.278 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/1.123, allocations: 43.73 kB / 1.278 GB, free: 13.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004012/1.123, allocations: 0.7471 MB / 1.279 GB, free: 13.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/1.123, allocations: 409.4 kB / 1.279 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/1.124, allocations: 291.5 kB / 1.279 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.124, allocations: 302.9 kB / 1.28 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008825/1.125, allocations: 0.6111 MB / 1.28 GB, free: 12.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.126, allocations: 1.104 MB / 1.281 GB, free: 11.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/1.128, allocations: 1.833 MB / 1.283 GB, free: 11.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.128, allocations: 5.094 kB / 1.283 GB, free: 11.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003612/1.132, allocations: 2.101 MB / 1.285 GB, free: 10.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.132, allocations: 15.47 kB / 1.285 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/1.132, allocations: 17.17 kB / 1.285 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008498/1.133, allocations: 262.6 kB / 1.285 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.134, allocations: 369.9 kB / 1.286 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.145, allocations: 11.6 MB / 1.297 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.147, allocations: 127.2 kB / 1.297 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/1.148, allocations: 72.08 kB / 1.297 GB, free: 15.39 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001031/1.149, allocations: 410 kB / 1.298 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/1.149, allocations: 136.4 kB / 1.298 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/1.153, allocations: 1.674 MB / 1.299 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.153, allocations: 11.78 kB / 1.299 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.153, allocations: 6.438 kB / 1.299 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/1.153, allocations: 5.953 kB / 1.299 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/1.161, allocations: 3.288 MB / 1.303 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.161, allocations: 5.531 kB / 1.303 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.163, allocations: 220.9 kB / 1.303 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/1.164, allocations: 249.3 kB / 1.303 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.164, allocations: 24.73 kB / 1.303 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/1.175, allocations: 11.57 MB / 1.314 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/1.175, allocations: 10.5 kB / 1.314 GB, free: 1.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004398/1.18, allocations: 1.808 MB / 1.316 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/1.181, allocations: 313.9 kB / 1.316 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/1.181, allocations: 29 kB / 1.316 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.182, allocations: 90.36 kB / 1.317 GB, free: 376 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003229/1.183, allocations: 97.17 kB / 1.317 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.183, allocations: 39.58 kB / 1.317 GB, free: 344 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001227/1.184, allocations: 0.6171 MB / 1.317 GB, free: 84 kB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 0 / 1.317 GB, free: 84 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.002371/1.186, allocations: 394 kB / 1.318 GB, free: 40 kB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003584/1.187, allocations: 149.7 kB / 1.318 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005845/1.192, allocations: 2.4 MB / 1.32 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.192, allocations: 1.281 kB / 1.32 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002808/1.195, allocations: 1.586 MB / 1.322 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/1.198, allocations: 352.6 kB / 1.322 GB, free: 13.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/1.205, allocations: 2.797 MB / 1.325 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/1.207, allocations: 1.331 MB / 1.326 GB, free: 11.27 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001732/1.209, allocations: 356.9 kB / 1.326 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/1.209, allocations: 97.19 kB / 1.327 GB, free: 11.2 MB / 1.045 GB Notification: Performance of SimCode: time 3.487e-06/1.209, allocations: 0 / 1.327 GB, free: 11.2 MB / 1.045 GB Notification: Performance of Templates: time 0.04397/1.253, allocations: 17.47 MB / 1.344 GB, free: 6.996 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches