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.0008344/0.0008344, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008004/0.0008004, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8775/0.8775, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.748/1.748, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] 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.663e-06/1.663e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.869e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008585/0.008613, allocations: 10.5 MB / 1.011 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006969/0.01558, allocations: 5.582 MB / 1.017 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009444/0.01653, allocations: 75.31 kB / 1.017 GB, free: 12.78 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.01891, allocations: 1.734 MB / 1.018 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.02123, allocations: 1.204 MB / 1.02 GB, free: 9.832 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.02277, allocations: 0.8249 MB / 1.02 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.02516, allocations: 2.181 MB / 1.022 GB, free: 6.816 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.02637, allocations: 1.022 MB / 1.023 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.02789, allocations: 1.208 MB / 1.025 GB, free: 4.559 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009681/0.02886, allocations: 0.8257 MB / 1.025 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.02899, allocations: 112 kB / 1.026 GB, free: 3.621 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.03057, allocations: 1.079 MB / 1.027 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.03095, allocations: 0.5647 MB / 1.027 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.03139, allocations: 0.5338 MB / 1.028 GB, free: 1.438 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.03411, allocations: 2.484 MB / 1.03 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.03412, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.03412, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.03414, allocations: 4 kB / 1.03 GB, free: 14.94 MB / 0.9948 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.001963/0.0361, allocations: 1.825 MB / 1.032 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.03615, allocations: 8.75 kB / 1.032 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002299/0.03845, allocations: 0.6826 MB / 1.033 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.0396, allocations: 0.9284 MB / 1.033 GB, free: 11.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.03965, allocations: 94.83 kB / 1.034 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.03979, allocations: 128.3 kB / 1.034 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.04221, allocations: 2.4 MB / 1.036 GB, free: 8.523 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.04224, allocations: 12.12 kB / 1.036 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/0.04233, allocations: 68.28 kB / 1.036 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.04247, allocations: 170.2 kB / 1.036 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.04437, allocations: 1.859 MB / 1.038 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006946/0.05131, allocations: 9.176 MB / 1.047 GB, free: 12.95 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.05377, allocations: 1.872 MB / 1.049 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/0.0546, allocations: 0.562 MB / 1.049 GB, free: 10.51 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.05471, allocations: 20.98 kB / 1.049 GB, free: 10.49 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.05473, allocations: 43.56 kB / 1.05 GB, free: 10.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/0.05473, allocations: 0 / 1.05 GB, free: 10.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.003825/0.05856, allocations: 3.11 MB / 1.053 GB, free: 7.312 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.0586, allocations: 68.34 kB / 1.053 GB, free: 7.234 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.05933, allocations: 0.8768 MB / 1.053 GB, free: 6.336 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.05938, allocations: 45.7 kB / 1.054 GB, free: 6.285 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.05972, allocations: 0.7571 MB / 1.054 GB, free: 5.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.05992, allocations: 404.5 kB / 1.055 GB, free: 5.121 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.06018, allocations: 283.4 kB / 1.055 GB, free: 4.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.06025, allocations: 309.1 kB / 1.055 GB, free: 4.535 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.06087, allocations: 0.6129 MB / 1.056 GB, free: 3.922 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.06197, allocations: 1.106 MB / 1.057 GB, free: 2.602 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.06357, allocations: 1.832 MB / 1.059 GB, free: 0.5508 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.06357, allocations: 4 kB / 1.059 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.4607/0.5242, allocations: 2.091 MB / 1.061 GB, free: 95.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.5243, allocations: 10.69 kB / 1.061 GB, free: 95.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.5243, allocations: 18.44 kB / 1.061 GB, free: 95.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.5247, allocations: 264 kB / 1.061 GB, free: 95.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.5253, allocations: 373.9 kB / 1.061 GB, free: 95.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.5284, allocations: 10.56 MB / 1.072 GB, free: 85.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.529, allocations: 122.2 kB / 1.072 GB, free: 85.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.5291, allocations: 72.34 kB / 1.072 GB, free: 85.3 MB / 1.01 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.0004067/0.5295, allocations: 405.3 kB / 1.072 GB, free: 85.05 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.5296, allocations: 129.7 kB / 1.072 GB, free: 85.05 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.531, allocations: 1.675 MB / 1.074 GB, free: 84.38 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.531, allocations: 12.66 kB / 1.074 GB, free: 84.38 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.531, allocations: 6.312 kB / 1.074 GB, free: 84.38 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.531, allocations: 6.375 kB / 1.074 GB, free: 84.38 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.5336, allocations: 2.934 MB / 1.077 GB, free: 83.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5336, allocations: 5.906 kB / 1.077 GB, free: 83.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.534, allocations: 219.8 kB / 1.077 GB, free: 83.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.5343, allocations: 243.2 kB / 1.077 GB, free: 82.97 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.5343, allocations: 27.41 kB / 1.077 GB, free: 82.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.5372, allocations: 10.55 MB / 1.088 GB, free: 72.95 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5372, allocations: 5.5 kB / 1.088 GB, free: 72.95 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.5385, allocations: 1.779 MB / 1.089 GB, free: 72.06 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.5388, allocations: 225.2 kB / 1.09 GB, free: 71.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.5389, allocations: 34.83 kB / 1.09 GB, free: 71.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.5392, allocations: 94.05 kB / 1.09 GB, free: 71.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.5393, allocations: 98.39 kB / 1.09 GB, free: 71.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.5393, allocations: 40.11 kB / 1.09 GB, free: 71.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003772/0.5397, allocations: 0.5683 MB / 1.09 GB, free: 71.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.5397, allocations: 0 / 1.09 GB, free: 71.65 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008644/0.5406, allocations: 397.6 kB / 1.091 GB, free: 71.61 MB / 1.01 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.000195/0.5408, allocations: 145.3 kB / 1.091 GB, free: 71.49 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.5426, allocations: 2.398 MB / 1.093 GB, free: 70.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5426, allocations: 0 / 1.093 GB, free: 70.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.5435, allocations: 1.584 MB / 1.095 GB, free: 69.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/0.5444, allocations: 345.9 kB / 1.095 GB, free: 68.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.5471, allocations: 2.885 MB / 1.098 GB, free: 67.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.5475, allocations: 0.7345 MB / 1.099 GB, free: 67.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.5478, allocations: 113.6 kB / 1.099 GB, free: 67.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/0.5478, allocations: 0 / 1.099 GB, free: 67.3 MB / 1.01 GB Notification: Performance of Templates: time 0.0496/0.5974, allocations: 59.71 MB / 1.157 GB, free: 48.4 MB / 1.01 GB " [Timeout remaining time 299] 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: 9.853692170232534]