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.0009369/0.0009369, allocations: 80.75 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.0009789/0.0009789, 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 0.9711/0.9711, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.34/2.34, allocations: 438.8 MB / 0.6827 GB, free: 13.54 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_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.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.696e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001949/0.001966, allocations: 1.415 MB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009505/0.002917, allocations: 0.9258 MB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.002954, allocations: 4 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.002973, allocations: 3.984 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.003032, allocations: 11.86 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.003476, allocations: 218.8 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.003555, allocations: 63.64 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.003588, allocations: 7.984 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.003638, allocations: 27.97 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.003688, allocations: 19.91 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.0037, allocations: 4 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.004079, allocations: 379.4 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.004101, allocations: 7.984 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.00412, allocations: 19.92 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.004401, allocations: 311 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004403, allocations: 4 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5e-07/0.004403, allocations: 4 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.004406, allocations: 0 / 0.8419 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.0003036/0.00471, allocations: 327.6 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.004738, allocations: 8.625 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.004878, allocations: 24.92 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.004959, allocations: 117.7 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004971, allocations: 384 / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.004989, allocations: 4.375 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.005113, allocations: 126.3 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005122, allocations: 192 / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.00513, allocations: 8.375 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.005135, allocations: 384 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.005166, allocations: 27.84 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.331e-05/0.005249, allocations: 65 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.005328, allocations: 62.59 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.005347, allocations: 16.86 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.005357, allocations: 4 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.005378, allocations: 42.5 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.005378, allocations: 0 / 0.8427 GB, free: 9.789 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002286/0.007665, allocations: 0.8144 MB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.007691, allocations: 51.41 kB / 0.8436 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.007757, allocations: 134.5 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.007776, allocations: 29.7 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.007803, allocations: 92.39 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.007846, allocations: 43.64 kB / 0.8439 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.0079, allocations: 37.67 kB / 0.8439 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.00797, allocations: 326.8 kB / 0.8442 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.00802, allocations: 43.98 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.008069, allocations: 47.98 kB / 0.8443 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.008183, allocations: 122.8 kB / 0.8444 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.008184, allocations: 0 / 0.8444 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001511/0.008335, allocations: 146.7 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.008345, allocations: 8 kB / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.008354, allocations: 0 / 0.8446 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.008365, allocations: 4 kB / 0.8446 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.008488, allocations: 31.97 kB / 0.8446 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.008491, allocations: 3.938 kB / 0.8446 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.008547, allocations: 4 kB / 0.8446 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.008559, allocations: 3.984 kB / 0.8446 GB, free: 7.754 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.752e-05/0.008627, allocations: 117.8 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.008647, allocations: 7.984 kB / 0.8447 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.008673, allocations: 12.44 kB / 0.8447 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008675, allocations: 8 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008677, allocations: 0 / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.00868, allocations: 0 / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.008984, allocations: 283.1 kB / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008985, allocations: 0 / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.0091, allocations: 27.97 kB / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.009101, allocations: 0 / 0.8451 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009113, allocations: 4 kB / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009114, allocations: 0 / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.009116, allocations: 3.984 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.00935, allocations: 259.4 kB / 0.8453 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-06/0.009358, allocations: 7.953 kB / 0.8453 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.009376, allocations: 4 kB / 0.8453 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.009451, allocations: 12 kB / 0.8453 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.009471, allocations: 3.984 kB / 0.8453 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.009483, allocations: 11.98 kB / 0.8453 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.636e-05/0.0095, allocations: 20.78 kB / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0095, allocations: 0 / 0.8454 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001628/0.009662, allocations: 47.88 kB / 0.8454 GB, free: 6.891 MB / 0.8073 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.0001364/0.009799, allocations: 100.4 kB / 0.8455 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.009966, allocations: 138.5 kB / 0.8456 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.009968, allocations: 4 kB / 0.8456 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.01003, allocations: 52.77 kB / 0.8457 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.01017, allocations: 19.98 kB / 0.8457 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.01089, allocations: 344.4 kB / 0.846 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.01093, allocations: 63.34 kB / 0.8461 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.702e-05/0.01101, allocations: 16.73 kB / 0.8461 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01112, allocations: 75.34 kB / 0.8462 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.01112, allocations: 0 / 0.8462 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of Templates: time 0.003902/0.01502, allocations: 2.542 MB / 0.8487 GB, free: 3.52 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] 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","",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.162301240954548]