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.000986/0.000986, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001179/0.001179, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.02/1.02, allocations: 177.2 MB / 203.8 MB, free: 5.492 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 2.295/2.295, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.353e-06/1.353e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.96e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001654/0.001674, allocations: 1.409 MB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.002728, allocations: 0.9219 MB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002763, allocations: 4 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.002783, allocations: 3.938 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.002838, allocations: 11.86 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.003337, allocations: 226.8 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.239e-05/0.003419, allocations: 51.78 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.003457, allocations: 11.91 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.016e-05/0.003507, allocations: 31.97 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.003558, allocations: 19.91 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.00357, allocations: 4 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.003938, allocations: 375.4 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.003959, allocations: 11.94 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.003979, allocations: 15.98 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.004282, allocations: 318.9 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004284, allocations: 4 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004285, allocations: 0 / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.00429, allocations: 0 / 0.8419 GB, free: 10.78 MB / 0.8073 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.0003409/0.004631, allocations: 323.6 kB / 0.8422 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.00467, allocations: 8.625 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.004849, allocations: 20.92 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.004931, allocations: 121.7 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.004947, allocations: 8.375 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.004969, allocations: 4.375 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005118, allocations: 118.3 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.00513, allocations: 4.188 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.005141, allocations: 8.359 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.005147, allocations: 384 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.487e-05/0.005182, allocations: 23.91 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.005292, allocations: 69 kB / 0.8426 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/0.005386, allocations: 58.61 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.005408, allocations: 16.86 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.00542, allocations: 0 / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.005446, allocations: 34.56 kB / 0.8427 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.005447, allocations: 7.938 kB / 0.8427 GB, free: 9.863 MB / 0.8073 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.00264/0.008087, allocations: 0.8265 MB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.008115, allocations: 55.39 kB / 0.8436 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.301e-05/0.008178, allocations: 130.6 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.008195, allocations: 29.7 kB / 0.8437 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.008223, allocations: 92.39 kB / 0.8438 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.008271, allocations: 43.64 kB / 0.8439 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.008346, allocations: 37.67 kB / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.00844, allocations: 326.8 kB / 0.8442 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.008498, allocations: 51.98 kB / 0.8443 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.008552, allocations: 51.98 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.00867, allocations: 135.9 kB / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.008672, allocations: 0 / 0.8444 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001578/0.00883, allocations: 157.6 kB / 0.8446 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.008843, allocations: 11.98 kB / 0.8446 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.008856, allocations: 4 kB / 0.8446 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.008867, allocations: 0 / 0.8446 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.008988, allocations: 27.97 kB / 0.8446 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.008991, allocations: 0 / 0.8446 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.009048, allocations: 8 kB / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.009061, allocations: 7.922 kB / 0.8447 GB, free: 7.773 MB / 0.8073 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 6.406e-05/0.009125, allocations: 117.8 kB / 0.8448 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.009142, allocations: 4 kB / 0.8448 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.009179, allocations: 20.42 kB / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.009181, allocations: 4 kB / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.009184, allocations: 0 / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009187, allocations: 0 / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.009481, allocations: 274.7 kB / 0.8451 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.009482, allocations: 0 / 0.8451 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.009596, allocations: 27.97 kB / 0.8451 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.009598, allocations: 3.938 kB / 0.8451 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.00961, allocations: 4 kB / 0.8451 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.00961, allocations: 0 / 0.8451 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009612, allocations: 8 kB / 0.8451 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.009838, allocations: 259.9 kB / 0.8453 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.009845, allocations: 7.938 kB / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.009863, allocations: 4 kB / 0.8454 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.009937, allocations: 8 kB / 0.8454 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.009957, allocations: 3.984 kB / 0.8454 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.009968, allocations: 7.984 kB / 0.8454 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.765e-05/0.009985, allocations: 20.84 kB / 0.8454 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009985, allocations: 0 / 0.8454 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001716/0.01016, allocations: 47.91 kB / 0.8454 GB, free: 6.918 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001451/0.0103, allocations: 96.39 kB / 0.8455 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.01048, allocations: 154.4 kB / 0.8457 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01049, allocations: 0 / 0.8457 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.01054, allocations: 56.81 kB / 0.8457 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.01069, allocations: 21.8 kB / 0.8458 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.01141, allocations: 328.5 kB / 0.8461 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.01144, allocations: 63.34 kB / 0.8461 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.482e-05/0.01151, allocations: 20.73 kB / 0.8461 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.01162, allocations: 71.34 kB / 0.8462 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01162, allocations: 0 / 0.8462 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.003623/0.01524, allocations: 2.546 MB / 0.8487 GB, free: 3.523 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] 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","",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.162069043144584]