Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.000813/0.000813, allocations: 84.23 kB / 20.04 MB, free: 4.484 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.0008903/0.0008903, allocations: 173.9 kB / 23.34 MB, free: 1.184 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.8599/0.8599, allocations: 177.1 MB / 203.7 MB, free: 5.602 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.745/1.745, allocations: 390.1 MB / 0.635 GB, free: 11.56 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/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.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.188e-05, allocations: 2.312 kB / 1.003 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001613/0.001635, allocations: 1.411 MB / 1.004 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009829/0.002618, allocations: 1.009 MB / 1.005 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.00266, allocations: 0 / 1.005 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.002678, allocations: 7.875 kB / 1.005 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.002775, allocations: 23.84 kB / 1.005 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.003216, allocations: 242.7 kB / 1.006 GB, free: 7.008 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.003302, allocations: 75.62 kB / 1.006 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.003345, allocations: 4 kB / 1.006 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.003393, allocations: 39.91 kB / 1.006 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.003471, allocations: 35.89 kB / 1.006 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003486, allocations: 4 kB / 1.006 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003782/0.003864, allocations: 399.4 kB / 1.006 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.003883, allocations: 15.92 kB / 1.006 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.003908, allocations: 19.92 kB / 1.006 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.004239, allocations: 346.8 kB / 1.007 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004241, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004242, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.004246, allocations: 0 / 1.007 GB, free: 6.086 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004354/0.004681, allocations: 385.1 kB / 1.007 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004719, allocations: 8.031 kB / 1.007 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.005021, allocations: 60.8 kB / 1.007 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005131, allocations: 121.7 kB / 1.007 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.005148, allocations: 4.375 kB / 1.007 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.005162, allocations: 16.3 kB / 1.007 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005289, allocations: 58.22 kB / 1.007 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.005296, allocations: 192 / 1.007 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.005307, allocations: 4.125 kB / 1.007 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005311, allocations: 0 / 1.007 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.005561, allocations: 47.95 kB / 1.007 GB, free: 5.336 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.005687, allocations: 125.3 kB / 1.007 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.005883, allocations: 86.52 kB / 1.007 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.005951, allocations: 32.86 kB / 1.007 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.005967, allocations: 0 / 1.007 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.005987, allocations: 34.55 kB / 1.007 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.005987, allocations: 3.938 kB / 1.007 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002994/0.006287, allocations: 117.5 kB / 1.008 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.006314, allocations: 55.34 kB / 1.008 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006428, allocations: 152.6 kB / 1.008 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.006441, allocations: 25.7 kB / 1.008 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.006485, allocations: 96.06 kB / 1.008 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.006508, allocations: 19.84 kB / 1.008 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.006557, allocations: 29.7 kB / 1.008 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.006642, allocations: 318.8 kB / 1.008 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.006744, allocations: 51.91 kB / 1.008 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.006828, allocations: 55.97 kB / 1.008 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.006992, allocations: 87.36 kB / 1.008 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.006995, allocations: 0 / 1.008 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002244/0.00722, allocations: 145.6 kB / 1.009 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.007235, allocations: 4 kB / 1.009 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.007255, allocations: 4 kB / 1.009 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.00727, allocations: 0 / 1.009 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.007387, allocations: 27.86 kB / 1.009 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.007395, allocations: 0 / 1.009 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.007471, allocations: 19.88 kB / 1.009 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.007482, allocations: 4 kB / 1.009 GB, free: 3.758 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.236e-05/0.007554, allocations: 109.8 kB / 1.009 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.007566, allocations: 3.953 kB / 1.009 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.007602, allocations: 16.33 kB / 1.009 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007605, allocations: 0 / 1.009 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.007608, allocations: 3.938 kB / 1.009 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.007625, allocations: 7.953 kB / 1.009 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.007641, allocations: 4 kB / 1.009 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.004e-05/0.007691, allocations: 7.984 kB / 1.009 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.00771, allocations: 0 / 1.009 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002275/0.007938, allocations: 177 kB / 1.009 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002153/0.008153, allocations: 258.7 kB / 1.009 GB, free: 3.145 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.161e-05/0.008225, allocations: 23.97 kB / 1.009 GB, free: 3.121 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.008287, allocations: 113.3 kB / 1.009 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of Backend: time 6.91e-07/0.008288, allocations: 0 / 1.009 GB, free: 3.012 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.008993, allocations: 295.2 kB / 1.01 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of SimCode: time 0.0006235/0.009616, allocations: 0.612 MB / 1.01 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of Templates: time 0.004987/0.0146, allocations: 4.229 MB / 1.014 GB, free: 13.86 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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: 5.195568908937275]