Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 84.28 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 170.3 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.885/2.885, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.48e-05, allocations: 2.281 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01473/0.01475, allocations: 10.5 MB / 1.01 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.02491, allocations: 5.582 MB / 1.016 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009864/0.02589, allocations: 75.31 kB / 1.016 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.03081, allocations: 1.723 MB / 1.018 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.03395, allocations: 1.22 MB / 1.019 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.03618, allocations: 0.8146 MB / 1.02 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.03915, allocations: 2.181 MB / 1.022 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.04081, allocations: 1.018 MB / 1.023 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.04277, allocations: 1.212 MB / 1.024 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.04401, allocations: 0.8257 MB / 1.025 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.04421, allocations: 116 kB / 1.025 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.04621, allocations: 1.075 MB / 1.026 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006067/0.04682, allocations: 0.5725 MB / 1.026 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.04752, allocations: 0.5299 MB / 1.027 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.05075, allocations: 2.488 MB / 1.029 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.05076, allocations: 3.938 kB / 1.029 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.05076, allocations: 4 kB / 1.029 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.05078, allocations: 0 / 1.029 GB, free: 9.211 MB / 0.9825 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.002958/0.05373, allocations: 1.821 MB / 1.031 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.05377, allocations: 12.03 kB / 1.031 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.05849, allocations: 0.6903 MB / 1.032 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.0602, allocations: 0.9206 MB / 1.033 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.06029, allocations: 90.91 kB / 1.033 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.0605, allocations: 128.3 kB / 1.033 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/0.0639, allocations: 2.408 MB / 1.035 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.06395, allocations: 12.12 kB / 1.035 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.06409, allocations: 56.36 kB / 1.035 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.06432, allocations: 166.2 kB / 1.036 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.06741, allocations: 1.859 MB / 1.037 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.07892, allocations: 9.184 MB / 1.046 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/0.0835, allocations: 1.87 MB / 1.048 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000877/0.08438, allocations: 0.5542 MB / 1.049 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.08451, allocations: 24.98 kB / 1.049 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.08455, allocations: 47.5 kB / 1.049 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 3.406e-06/0.08455, allocations: 0 / 1.049 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.006251/0.09081, allocations: 3.102 MB / 1.052 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.09087, allocations: 68.39 kB / 1.052 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.09193, allocations: 0.8808 MB / 1.053 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.09201, allocations: 45.7 kB / 1.053 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.09259, allocations: 0.7534 MB / 1.053 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.09292, allocations: 400.6 kB / 1.054 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/0.09334, allocations: 287.4 kB / 1.054 GB, free: 15.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.09348, allocations: 312.9 kB / 1.054 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.09448, allocations: 0.609 MB / 1.055 GB, free: 14.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.09589, allocations: 1.102 MB / 1.056 GB, free: 12.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.09846, allocations: 1.832 MB / 1.058 GB, free: 10.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.09847, allocations: 11.94 kB / 1.058 GB, free: 10.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00382/0.1023, allocations: 2.097 MB / 1.06 GB, free: 8.688 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1023, allocations: 12 kB / 1.06 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.1023, allocations: 15.98 kB / 1.06 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000867/0.1032, allocations: 258.9 kB / 1.06 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.1045, allocations: 375.4 kB / 1.061 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009836/0.1144, allocations: 10.56 MB / 1.071 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.1157, allocations: 124.2 kB / 1.071 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.1158, allocations: 75.94 kB / 1.071 GB, free: 12.43 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.0007183/0.1165, allocations: 405.7 kB / 1.071 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.1167, allocations: 131.2 kB / 1.072 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.1198, allocations: 1.675 MB / 1.073 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.1198, allocations: 12 kB / 1.073 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1198, allocations: 4 kB / 1.073 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.1199, allocations: 7.969 kB / 1.073 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/0.125, allocations: 2.926 MB / 1.076 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.125, allocations: 8 kB / 1.076 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009213/0.1259, allocations: 223.6 kB / 1.076 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/0.1267, allocations: 239.3 kB / 1.077 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.1267, allocations: 31.98 kB / 1.077 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009252/0.136, allocations: 10.54 MB / 1.087 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/0.136, allocations: 11.94 kB / 1.087 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.139, allocations: 1.78 MB / 1.089 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.1395, allocations: 227.1 kB / 1.089 GB, free: 9.109 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.1397, allocations: 35.89 kB / 1.089 GB, free: 9.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/0.1404, allocations: 87.97 kB / 1.089 GB, free: 8.988 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.1406, allocations: 108.6 kB / 1.089 GB, free: 8.879 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.503e-05/0.1407, allocations: 39.98 kB / 1.089 GB, free: 8.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007695/0.1415, allocations: 0.5647 MB / 1.09 GB, free: 8.266 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.1415, allocations: 0 / 1.09 GB, free: 8.266 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001356/0.1428, allocations: 392 kB / 1.09 GB, free: 7.883 MB / 1.045 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.0002583/0.1431, allocations: 139 kB / 1.09 GB, free: 7.734 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003762/0.1468, allocations: 2.395 MB / 1.093 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.1468, allocations: 3.938 kB / 1.093 GB, free: 5.238 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.1491, allocations: 1.587 MB / 1.094 GB, free: 3.551 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.1508, allocations: 346.5 kB / 1.094 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.1555, allocations: 2.781 MB / 1.097 GB, free: 344 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.1564, allocations: 0.7371 MB / 1.098 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009114/0.1573, allocations: 351 kB / 1.098 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.1576, allocations: 92.48 kB / 1.098 GB, free: 15.13 MB / 1.061 GB Notification: Performance of SimCode: time 1.142e-06/0.1576, allocations: 0 / 1.098 GB, free: 15.13 MB / 1.061 GB Notification: Performance of Templates: time 0.03169/0.1893, allocations: 17.22 MB / 1.115 GB, free: 14.25 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.597406040877104]