Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.00222/0.00222, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003433/0.003433, allocations: 208.8 kB / 22.24 MB, free: 4.863 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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 3.537/3.537, allocations: 0.5056 GB / 0.8107 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 176] 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.56 kB / 1.179 GB, free: 16.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4336, allocations: 180.5 MB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.00272/0.4363, allocations: 1.378 MB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.4379, allocations: 0.8638 MB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.4379, allocations: 0 / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.4379, allocations: 3.938 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.438, allocations: 15.86 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006962/0.4387, allocations: 220.1 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.4388, allocations: 51.78 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.4389, allocations: 4 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.4389, allocations: 27.92 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.439, allocations: 19.86 kB / 1.357 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.439, allocations: 4 kB / 1.357 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.4397, allocations: 379.5 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.4397, allocations: 11.98 kB / 1.358 GB, free: 3.109 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.4398, allocations: 23.86 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005135/0.4403, allocations: 267.2 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4403, allocations: 4 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4403, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.4403, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006657/0.441, allocations: 357.3 kB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.441, allocations: 11.98 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.4413, allocations: 28.86 kB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4414, allocations: 118.4 kB / 1.358 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.4414, allocations: 4.312 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4415, allocations: 8.375 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.4417, allocations: 117.6 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4417, allocations: 4.125 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4417, allocations: 7.922 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4417, allocations: 0 / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.4419, allocations: 39.91 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.4421, allocations: 129.2 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.4424, allocations: 78.53 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4425, allocations: 36.83 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4426, allocations: 0 / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.4426, allocations: 34.56 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.4426, allocations: 0 / 1.359 GB, free: 1.738 MB / 1.045 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.006421/0.449, allocations: 0.9673 MB / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.4491, allocations: 55.41 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4492, allocations: 133.7 kB / 1.36 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4492, allocations: 25.7 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.4493, allocations: 84.42 kB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.4494, allocations: 39.64 kB / 1.36 GB, free: 356 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4495, allocations: 45.69 kB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4496, allocations: 322.8 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.4499, allocations: 83.95 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.4502, allocations: 87.94 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.4507, allocations: 182.9 kB / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4507, allocations: 0 / 1.361 GB, free: 15.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006507/0.4513, allocations: 238 kB / 1.361 GB, free: 15.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4514, allocations: 11.94 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4514, allocations: 0 / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4514, allocations: 3.984 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.4517, allocations: 35.97 kB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4517, allocations: 0 / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.4519, allocations: 11.98 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.452, allocations: 4 kB / 1.361 GB, free: 15.32 MB / 1.061 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 (14): * Single equations (assignments): 13 * 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 0.0001247/0.4521, allocations: 117.8 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.4521, allocations: 15.89 kB / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.4522, allocations: 12.38 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4522, allocations: 4 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4522, allocations: 96 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4522, allocations: 3.938 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/0.4531, allocations: 405.9 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4531, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.4535, allocations: 35.89 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4535, allocations: 8 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.4535, allocations: 7.984 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4535, allocations: 0 / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4535, allocations: 4 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.4544, allocations: 365.5 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.4545, allocations: 7.938 kB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.4545, allocations: 8 kB / 1.362 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.4548, allocations: 8.062 kB / 1.362 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.4548, allocations: 11.97 kB / 1.362 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.4548, allocations: 4 kB / 1.362 GB, free: 14.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.755e-05/0.4549, allocations: 95.97 kB / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4549, allocations: 0 / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003296/0.4552, allocations: 43.94 kB / 1.362 GB, free: 14.12 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002435/0.4555, allocations: 119.2 kB / 1.362 GB, free: 14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006363/0.4561, allocations: 201.9 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4561, allocations: 3.938 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.4564, allocations: 79.83 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4568, allocations: 19.91 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.4584, allocations: 442 kB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.487e-05/0.4585, allocations: 79.08 kB / 1.363 GB, free: 13.13 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000148/0.4587, allocations: 16.67 kB / 1.363 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4588, allocations: 23.42 kB / 1.363 GB, free: 13.09 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.4588, allocations: 0 / 1.363 GB, free: 13.09 MB / 1.061 GB Notification: Performance of Templates: time 0.006587/0.4654, allocations: 2.393 MB / 1.366 GB, free: 10.75 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.739876136183739]