Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007631/0.0007631, 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.000814/0.000814, allocations: 173.9 kB / 23.34 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.8555/0.8555, allocations: 177.1 MB / 203.7 MB, free: 5.699 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.749/1.749, 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.201e-05, allocations: 9.688 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002008/0.00203, allocations: 1.375 MB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003108, allocations: 0.8645 MB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.003146, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.003164, allocations: 3.938 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.003219, allocations: 15.91 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.00378, allocations: 226.8 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.00386, allocations: 55.72 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.996e-05/0.0039, allocations: 7.984 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.003953, allocations: 35.95 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.004008, allocations: 15.92 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.004021, allocations: 4 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.004581, allocations: 371.5 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.004602, allocations: 19.91 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.004629, allocations: 19.92 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.005007, allocations: 303.2 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00501, allocations: 4 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005011, allocations: 0 / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.005014, allocations: 0 / 1.006 GB, free: 7.516 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.0004002/0.005415, allocations: 353.3 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.005456, allocations: 8.031 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.005649, allocations: 28.86 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.005737, allocations: 113.7 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.005759, allocations: 8.375 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.005779, allocations: 384 / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.005941, allocations: 113.6 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005952, allocations: 192 / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.005964, allocations: 4.375 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.005968, allocations: 384 / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.006077, allocations: 35.91 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.006219, allocations: 133.2 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.006411, allocations: 82.41 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.006483, allocations: 32.84 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.006499, allocations: 4 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.006525, allocations: 38.55 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.006526, allocations: 0 / 1.007 GB, free: 6.453 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: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.003917/0.01044, allocations: 0.968 MB / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.01047, allocations: 55.41 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.01055, allocations: 125.8 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.01057, allocations: 25.7 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.01061, allocations: 88.42 kB / 1.008 GB, free: 5.105 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.01065, allocations: 39.64 kB / 1.008 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.916e-05/0.01073, allocations: 45.69 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.01081, allocations: 322.8 kB / 1.009 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.01101, allocations: 91.95 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.01121, allocations: 91.94 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.0116, allocations: 195.1 kB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.0116, allocations: 0 / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000485/0.01209, allocations: 245.5 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.0121, allocations: 8 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.01211, allocations: 4 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01213, allocations: 4 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.01233, allocations: 27.97 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01234, allocations: 8 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01245, allocations: 15.98 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.01247, allocations: 7.984 kB / 1.009 GB, free: 4 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 8.247e-05/0.01256, allocations: 117.8 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.01258, allocations: 3.953 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.01261, allocations: 16.44 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01262, allocations: 7.984 kB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01262, allocations: 0 / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.01263, allocations: 11.88 kB / 1.01 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.01265, allocations: 4 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.01278, allocations: 7.984 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.01281, allocations: 11.98 kB / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005653/0.01338, allocations: 268.7 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006964/0.01407, allocations: 443.2 kB / 1.01 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001849/0.01426, allocations: 79.95 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.0143, allocations: 87.28 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of Backend: time 2.5e-07/0.0143, allocations: 0 / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000775/0.01507, allocations: 337.9 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0005869/0.01566, allocations: 0.6977 MB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of Templates: time 0.006785/0.02244, allocations: 5.082 MB / 1.016 GB, free: 12.81 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.875594299286604]