Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_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.00117/0.00117, allocations: 80.41 kB / 20.89 MB, free: 3.395 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.004387/0.004387, allocations: 155.3 kB / 24.31 MB, free: 8.445 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.9443/0.9443, allocations: 177.2 MB / 204.8 MB, free: 5.398 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.258/2.258, allocations: 439.8 MB / 0.6846 GB, free: 12.55 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 15.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_inv_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_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_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_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8411 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.297e-05, allocations: 2.312 kB / 0.8411 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.002534/0.002557, allocations: 1.49 MB / 0.8425 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.004048, allocations: 0.9653 MB / 0.8435 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.004089, allocations: 4 kB / 0.8435 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.004109, allocations: 3.938 kB / 0.8435 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.004162, allocations: 3.938 kB / 0.8435 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.004825, allocations: 270.8 kB / 0.8438 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.004917, allocations: 55.73 kB / 0.8438 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.004953, allocations: 7.969 kB / 0.8438 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.005016, allocations: 27.97 kB / 0.8438 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.005076, allocations: 23.91 kB / 0.8439 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.005089, allocations: 4 kB / 0.8439 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007965/0.005886, allocations: 0.507 MB / 0.8444 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.005909, allocations: 15.97 kB / 0.8444 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.005937, allocations: 11.94 kB / 0.8444 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.006406, allocations: 358.8 kB / 0.8447 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006408, allocations: 0 / 0.8447 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006409, allocations: 4 kB / 0.8447 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.006413, allocations: 0 / 0.8447 GB, free: 8.82 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.0003731/0.006786, allocations: 331.8 kB / 0.845 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.006826, allocations: 12.03 kB / 0.8451 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.006856, allocations: 8.938 kB / 0.8451 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.006951, allocations: 117.7 kB / 0.8452 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.006961, allocations: 384 / 0.8452 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.006987, allocations: 8.312 kB / 0.8452 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.007092, allocations: 93.66 kB / 0.8453 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.007103, allocations: 192 / 0.8453 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.007113, allocations: 12.12 kB / 0.8453 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007119, allocations: 3.984 kB / 0.8453 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.007155, allocations: 12 kB / 0.8453 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.007263, allocations: 68.94 kB / 0.8454 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.483e-05/0.007358, allocations: 54.56 kB / 0.8454 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.007385, allocations: 16.84 kB / 0.8454 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.007399, allocations: 4 kB / 0.8454 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.007425, allocations: 38.56 kB / 0.8455 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.073e-06/0.007426, allocations: 0 / 0.8455 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.001057/0.008483, allocations: 475.4 kB / 0.8459 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.008508, allocations: 55.41 kB / 0.846 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.008584, allocations: 126.6 kB / 0.8461 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.008602, allocations: 37.69 kB / 0.8461 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.008634, allocations: 88.41 kB / 0.8462 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.008674, allocations: 55.56 kB / 0.8463 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.008726, allocations: 33.69 kB / 0.8463 GB, free: 7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.008816, allocations: 318.8 kB / 0.8466 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.008853, allocations: 23.98 kB / 0.8466 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.008888, allocations: 21.88 kB / 0.8467 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.008983, allocations: 70.25 kB / 0.8467 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.008984, allocations: 0 / 0.8467 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001493/0.009133, allocations: 108.4 kB / 0.8468 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.009146, allocations: 4 kB / 0.8468 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.009159, allocations: 4 kB / 0.8468 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.009168, allocations: 4 kB / 0.8468 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.009271, allocations: 23.98 kB / 0.8469 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.009279, allocations: 4 kB / 0.8469 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.009309, allocations: 8 kB / 0.8469 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.00932, allocations: 3.938 kB / 0.8469 GB, free: 6.406 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 7.437e-05/0.009394, allocations: 121.8 kB / 0.847 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.00941, allocations: 4 kB / 0.847 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.009573, allocations: 86.03 kB / 0.8471 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009577, allocations: 0 / 0.8471 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009578, allocations: 0 / 0.8471 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.009591, allocations: 11.95 kB / 0.8471 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.00961, allocations: 11.92 kB / 0.8471 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.481e-05/0.009645, allocations: 0 / 0.8471 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.009665, allocations: 7.984 kB / 0.8471 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001519/0.009816, allocations: 144.9 kB / 0.8473 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002051/0.01002, allocations: 259.5 kB / 0.8475 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.557e-05/0.01007, allocations: 28.89 kB / 0.8475 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.414e-05/0.01009, allocations: 20.78 kB / 0.8475 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of Backend: time 3.61e-07/0.01009, allocations: 0 / 0.8475 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.01059, allocations: 262.6 kB / 0.8478 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0008073/0.0114, allocations: 0.7278 MB / 0.8485 GB, free: 4.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.004217/0.01561, allocations: 3.329 MB / 0.8518 GB, free: 1.367 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_inv_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: 4.914028627797961]