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.0007803/0.0007803, allocations: 80.25 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.0007931/0.0007931, allocations: 173.9 kB / 23.35 MB, free: 1.18 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.8447/0.8447, allocations: 177.1 MB / 203.7 MB, free: 5.68 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.751/1.751, allocations: 390.1 MB / 0.635 GB, free: 11.53 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_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 1.373e-06/1.373e-06, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.601e-05, allocations: 2.312 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001462/0.001478, allocations: 1.386 MB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.002365, allocations: 0.8646 MB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.002407, allocations: 4 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.002432, allocations: 3.938 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/0.002487, allocations: 11.88 kB / 1.005 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.002971, allocations: 222.8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.00304, allocations: 63.7 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.003081, allocations: 11.97 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.003123, allocations: 27.97 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.003176, allocations: 27.89 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.003187, allocations: 0 / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.003537, allocations: 371.5 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.003554, allocations: 15.92 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.003578, allocations: 19.92 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.00387, allocations: 315.1 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003872, allocations: 0 / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003873, allocations: 4 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003876, allocations: 0 / 1.006 GB, free: 7.461 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003613/0.004237, allocations: 353.3 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.004273, allocations: 8.031 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.004433, allocations: 24.86 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.004507, allocations: 109.7 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.004528, allocations: 8.375 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004546, allocations: 4.375 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.004682, allocations: 105.6 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.004692, allocations: 4.188 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004702, allocations: 8.359 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004706, allocations: 384 / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.004791, allocations: 43.84 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.00491, allocations: 125.3 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.005054, allocations: 78.53 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.005107, allocations: 36.78 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.00512, allocations: 0 / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.00514, allocations: 34.56 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.005141, allocations: 4 kB / 1.007 GB, free: 6.406 MB / 0.9636 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.002953/0.008094, allocations: 0.9601 MB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.008117, allocations: 59.41 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.008183, allocations: 121.8 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.008202, allocations: 29.7 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.008227, allocations: 84.42 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.008261, allocations: 47.62 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.008323, allocations: 45.69 kB / 1.008 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.008393, allocations: 318.8 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.008543, allocations: 91.83 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.00868, allocations: 83.94 kB / 1.009 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.008957, allocations: 187 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.008958, allocations: 0 / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003523/0.00931, allocations: 240.1 kB / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.009321, allocations: 4 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.009333, allocations: 4 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.009345, allocations: 0 / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.009489, allocations: 39.91 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.009495, allocations: 3.938 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.009573, allocations: 7.984 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.009587, allocations: 11.98 kB / 1.009 GB, free: 3.984 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 (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 7.169e-05/0.009659, allocations: 113.8 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.009676, allocations: 11.95 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.009706, allocations: 8.438 kB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009708, allocations: 0 / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.009709, allocations: 0 / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.009717, allocations: 11.89 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.009738, allocations: 3.984 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.009824, allocations: 12 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.00985, allocations: 11.97 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004113/0.01026, allocations: 272.7 kB / 1.01 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005118/0.01077, allocations: 442.5 kB / 1.01 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001303/0.0109, allocations: 72.69 kB / 1.01 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.01093, allocations: 99.27 kB / 1.01 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of Backend: time 2.41e-07/0.01094, allocations: 0 / 1.01 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005705/0.01151, allocations: 330.3 kB / 1.011 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0004945/0.012, allocations: 0.7055 MB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Performance of Templates: time 0.005191/0.01719, allocations: 5.078 MB / 1.016 GB, free: 12.82 MB / 0.9792 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: 4.868167815729976]