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.000853/0.000853, allocations: 80.25 kB / 20.03 MB, free: 4.492 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.001557/0.001557, allocations: 177.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.9197/0.9197, allocations: 177.1 MB / 203.6 MB, free: 5.688 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.826/1.826, allocations: 390.1 MB / 0.635 GB, free: 11.57 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 2.074e-06/2.074e-06, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.194e-05, allocations: 2.312 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001861/0.001893, allocations: 1.421 MB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.003164, allocations: 1.009 MB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.003216, allocations: 0 / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.00324, allocations: 7.922 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.00337, allocations: 23.84 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.003922, allocations: 250.6 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004036, allocations: 63.72 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.004093, allocations: 7.984 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.004164, allocations: 39.89 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.004274, allocations: 39.89 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004292, allocations: 4 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004317/0.004724, allocations: 395.4 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.004746, allocations: 19.91 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.00478, allocations: 23.91 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.005152, allocations: 339 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005156, allocations: 0 / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.064e-06/0.005158, allocations: 4 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.005163, allocations: 0 / 1.007 GB, free: 7.195 MB / 0.9636 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.0005051/0.005668, allocations: 381.1 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.005709, allocations: 11.97 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.006033, allocations: 56.81 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.006164, allocations: 125.7 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.006182, allocations: 8.375 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.006195, allocations: 384 / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.006342, allocations: 70.14 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006349, allocations: 192 / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.006362, allocations: 4.125 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.006368, allocations: 0 / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.006501, allocations: 47.95 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.006651, allocations: 125.2 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.006879, allocations: 90.5 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.006954, allocations: 32.91 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.006972, allocations: 3.938 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.006996, allocations: 34.56 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.006997, allocations: 0 / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003176/0.007314, allocations: 109.6 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.007354, allocations: 59.34 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.007473, allocations: 148.4 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.00749, allocations: 29.69 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.007537, allocations: 92.09 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.007562, allocations: 15.84 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.007612, allocations: 29.7 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.007714, allocations: 322.8 kB / 1.008 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.007818, allocations: 43.97 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.007912, allocations: 55.91 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.008078, allocations: 92.81 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.008083, allocations: 0 / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002415/0.008324, allocations: 148.8 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.008342, allocations: 4 kB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.008367, allocations: 7.984 kB / 1.009 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.008386, allocations: 3.938 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.008499, allocations: 15.98 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.008507, allocations: 3.938 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.008577, allocations: 19.89 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.008589, allocations: 7.984 kB / 1.009 GB, free: 4.871 MB / 0.9636 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 6.714e-05/0.008656, allocations: 113.8 kB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.008667, allocations: 7.953 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.008699, allocations: 8.344 kB / 1.009 GB, free: 4.73 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.008702, allocations: 3.938 kB / 1.009 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.008707, allocations: 0 / 1.009 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.00871, allocations: 4 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.373e-05/0.008804, allocations: 117.3 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008806, allocations: 0 / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.008865, allocations: 15.98 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.008868, allocations: 0 / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.008878, allocations: 4 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008879, allocations: 0 / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.008882, allocations: 3.938 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.009095, allocations: 117 kB / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.009115, allocations: 7.953 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.009136, allocations: 0 / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.009188, allocations: 11.98 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.009208, allocations: 3.938 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.009213, allocations: 0 / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.009275, allocations: 115.2 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009275, allocations: 0 / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001633/0.009438, allocations: 27.94 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.009597, allocations: 115.2 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.01007, allocations: 117.6 kB / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01007, allocations: 0 / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.01013, allocations: 23.98 kB / 1.009 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01035, allocations: 21.56 kB / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.01082, allocations: 209 kB / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5e-05/0.01087, allocations: 75.27 kB / 1.01 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.821e-05/0.01092, allocations: 8 kB / 1.01 GB, free: 3.641 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.01096, allocations: 12.5 kB / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01096, allocations: 0 / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of Templates: time 0.00367/0.01463, allocations: 1.905 MB / 1.012 GB, free: 1.75 MB / 0.9636 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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.270558573305607]