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.001525/0.001525, allocations: 80.94 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.001651/0.001651, allocations: 177.3 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.409/2.409, allocations: 438.8 MB / 0.6826 GB, free: 13.65 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.293e-06/1.293e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.539e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001952/0.001967, allocations: 1.456 MB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.002916, allocations: 0.9297 MB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.002948, allocations: 0 / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.002966, allocations: 11.92 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.003017, allocations: 11.86 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.003505, allocations: 202.9 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.003587, allocations: 55.78 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.003622, allocations: 11.92 kB / 0.8413 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.003677, allocations: 39.89 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.003724, allocations: 15.92 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.003737, allocations: 4 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.004175, allocations: 387.4 kB / 0.8417 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.004193, allocations: 11.94 kB / 0.8417 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.004213, allocations: 15.98 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.004524, allocations: 315 kB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004526, allocations: 0 / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004527, allocations: 0 / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.00453, allocations: 4 kB / 0.842 GB, free: 10.71 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.0005711/0.005101, allocations: 323.6 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.00513, allocations: 8.625 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.005284, allocations: 32.84 kB / 0.8424 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.813e-05/0.005363, allocations: 113.7 kB / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.005372, allocations: 384 / 0.8425 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.005392, allocations: 12.34 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.005521, allocations: 118.3 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.005535, allocations: 4.188 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.005543, allocations: 384 / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.005546, allocations: 4.375 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.61e-05/0.005582, allocations: 27.86 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.556e-05/0.005668, allocations: 65 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.005747, allocations: 54.61 kB / 0.8427 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.005769, allocations: 16.86 kB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.005779, allocations: 4 kB / 0.8428 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005798, allocations: 34.56 kB / 0.8428 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.005799, allocations: 0 / 0.8428 GB, free: 9.805 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.002431/0.008229, allocations: 0.8265 MB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.008251, allocations: 55.41 kB / 0.8437 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.008315, allocations: 134.5 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.008333, allocations: 33.7 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.008355, allocations: 84.41 kB / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.008389, allocations: 43.62 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.008444, allocations: 37.67 kB / 0.844 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.008515, allocations: 330.8 kB / 0.8443 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.008574, allocations: 55.98 kB / 0.8443 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.417e-05/0.008628, allocations: 56 kB / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.008754, allocations: 127.9 kB / 0.8445 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.008755, allocations: 4 kB / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000162/0.008917, allocations: 161.5 kB / 0.8447 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.008927, allocations: 4 kB / 0.8447 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.008937, allocations: 0 / 0.8447 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.008946, allocations: 4 kB / 0.8447 GB, free: 7.754 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.009087, allocations: 39.95 kB / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.00909, allocations: 0 / 0.8447 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.009151, allocations: 11.97 kB / 0.8447 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.009163, allocations: 0 / 0.8447 GB, free: 7.703 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.233e-05/0.009225, allocations: 121.7 kB / 0.8449 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.009248, allocations: 11.98 kB / 0.8449 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.009273, allocations: 8.438 kB / 0.8449 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.009275, allocations: 4 kB / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.009276, allocations: 0 / 0.8449 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009279, allocations: 4 kB / 0.8449 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.009568, allocations: 271.3 kB / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009569, allocations: 0 / 0.8451 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.0097, allocations: 35.89 kB / 0.8452 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009703, allocations: 4 kB / 0.8452 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.009715, allocations: 4 kB / 0.8452 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009716, allocations: 0 / 0.8452 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009717, allocations: 0 / 0.8452 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.009952, allocations: 259.4 kB / 0.8454 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-06/0.009961, allocations: 11.94 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.009979, allocations: 4 kB / 0.8454 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.01006, allocations: 4 kB / 0.8454 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.01009, allocations: 7.984 kB / 0.8455 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.0101, allocations: 7.984 kB / 0.8455 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.524e-05/0.01011, allocations: 16.84 kB / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01011, allocations: 3.938 kB / 0.8455 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001661/0.01028, allocations: 47.88 kB / 0.8455 GB, free: 6.844 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.0001178/0.0104, allocations: 100.4 kB / 0.8456 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.01057, allocations: 146.5 kB / 0.8458 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01057, allocations: 4 kB / 0.8458 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/0.01063, allocations: 52.77 kB / 0.8458 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.01078, allocations: 21.86 kB / 0.8458 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.01151, allocations: 328.5 kB / 0.8462 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.01154, allocations: 67.28 kB / 0.8462 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.332e-05/0.01163, allocations: 20.73 kB / 0.8462 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.01175, allocations: 75.34 kB / 0.8463 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.01175, allocations: 0 / 0.8463 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of Templates: time 0.003567/0.01531, allocations: 2.537 MB / 0.8488 GB, free: 3.453 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 -s gbode -gbm=radauIIA3 -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.3411353742703795]