Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001125/0.001124, allocations: 192 kB / 16.14 MB, free: 6.645 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.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.488/2.488, allocations: 390.2 MB / 0.6642 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8829/0.8841, allocations: 140.3 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01085/0.895, allocations: 11.04 MB / 0.9597 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.9057, allocations: 5.86 MB / 0.9654 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.9079, allocations: 45.97 kB / 0.9655 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005152/0.9131, allocations: 1.62 MB / 0.9671 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.9176, allocations: 1.064 MB / 0.9681 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.9202, allocations: 0.7478 MB / 0.9688 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00432/0.9245, allocations: 2.852 MB / 0.9716 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.9268, allocations: 1.31 MB / 0.9729 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.9285, allocations: 0.7544 MB / 0.9736 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.9304, allocations: 0.931 MB / 0.9745 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/0.9308, allocations: 84.22 kB / 0.9746 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.9342, allocations: 1.462 MB / 0.976 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009995/0.9353, allocations: 0.4932 MB / 0.9765 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.9375, allocations: 0.7531 MB / 0.9773 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005721/0.9433, allocations: 2.453 MB / 0.9797 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.9433, allocations: 3.984 kB / 0.9797 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9433, allocations: 0 / 0.9797 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.832e-05/0.9434, allocations: 0 / 0.9797 GB, free: 2.547 MB / 0.7325 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.003796/0.9472, allocations: 1.864 MB / 0.9815 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9472, allocations: 16.03 kB / 0.9815 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.9518, allocations: 0.6661 MB / 0.9821 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.9534, allocations: 0.9146 MB / 0.983 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.9535, allocations: 94.91 kB / 0.9831 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.9537, allocations: 124.3 kB / 0.9833 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.957, allocations: 2.21 MB / 0.9854 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.957, allocations: 15.78 kB / 0.9854 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.9572, allocations: 55.98 kB / 0.9855 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002441/0.9574, allocations: 162.3 kB / 0.9856 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.9605, allocations: 1.871 MB / 0.9875 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.9739, allocations: 12.48 MB / 0.9996 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004548/0.9785, allocations: 1.96 MB / 1.002 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009455/0.9795, allocations: 0.6089 MB / 1.002 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.9797, allocations: 98.09 kB / 1.002 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.9798, allocations: 43.56 kB / 1.002 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=103): time 2.876e-06/0.9798, allocations: 0 / 1.002 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=110): time 0.006557/0.9863, allocations: 3.718 MB / 1.006 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.9864, allocations: 68.39 kB / 1.006 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.9875, allocations: 0.9204 MB / 1.007 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.9876, allocations: 45.7 kB / 1.007 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.988, allocations: 0.7236 MB / 1.008 GB, free: 4.359 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.9884, allocations: 394.5 kB / 1.008 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/0.9888, allocations: 283.2 kB / 1.008 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9889, allocations: 301.1 kB / 1.009 GB, free: 3.387 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008841/0.9898, allocations: 0.6129 MB / 1.009 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.991, allocations: 1.109 MB / 1.01 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002245/0.9933, allocations: 1.832 MB / 1.012 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.9933, allocations: 8 kB / 1.012 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003322/0.9966, allocations: 2.1 MB / 1.014 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.9967, allocations: 12 kB / 1.014 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.9967, allocations: 16 kB / 1.014 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.9975, allocations: 263.1 kB / 1.014 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.9987, allocations: 375.4 kB / 1.015 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/1.007, allocations: 10.75 MB / 1.025 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/1.008, allocations: 127.8 kB / 1.025 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/1.008, allocations: 72.16 kB / 1.025 GB, free: 0.5664 MB / 0.7794 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.0007298/1.009, allocations: 405.1 kB / 1.026 GB, free: 164 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/1.009, allocations: 130.4 kB / 1.026 GB, free: 32 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/1.012, allocations: 1.688 MB / 1.028 GB, free: 14.31 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/1.012, allocations: 12 kB / 1.028 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.012, allocations: 4 kB / 1.028 GB, free: 14.3 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.012, allocations: 7.969 kB / 1.028 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/1.017, allocations: 3.287 MB / 1.031 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.017, allocations: 4.688 kB / 1.031 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/1.018, allocations: 219.6 kB / 1.031 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000731/1.019, allocations: 254.5 kB / 1.031 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/1.019, allocations: 24 kB / 1.031 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008283/1.027, allocations: 10.74 MB / 1.042 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.027, allocations: 4 kB / 1.042 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/1.03, allocations: 1.796 MB / 1.044 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/1.031, allocations: 311.3 kB / 1.044 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/1.031, allocations: 31.98 kB / 1.044 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/1.032, allocations: 91.81 kB / 1.044 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/1.032, allocations: 96.7 kB / 1.044 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/1.032, allocations: 32 kB / 1.044 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001005/1.033, allocations: 0.6216 MB / 1.045 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/1.033, allocations: 0 / 1.045 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001815/1.035, allocations: 396 kB / 1.045 GB, free: 11.04 MB / 0.8106 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.0002926/1.036, allocations: 144.3 kB / 1.045 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003729/1.039, allocations: 2.492 MB / 1.048 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.039, allocations: 4 kB / 1.048 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.042, allocations: 1.626 MB / 1.049 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.044, allocations: 327.2 kB / 1.05 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005959/1.05, allocations: 3.391 MB / 1.053 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.051, allocations: 1.331 MB / 1.054 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00124/1.052, allocations: 355.3 kB / 1.054 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/1.052, allocations: 95.42 kB / 1.055 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of SimCode: time 2.354e-06/1.052, allocations: 0 / 1.055 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of Templates: time 0.03081/1.083, allocations: 16.45 MB / 1.071 GB, free: 0.6562 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches