Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.0008616/0.0008616, allocations: 79.75 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.003042/0.003042, allocations: 153.5 kB / 24.31 MB, free: 8.48 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.8791/0.8791, allocations: 177.2 MB / 204.8 MB, free: 5.383 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.191/2.191, allocations: 439.8 MB / 0.6847 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.BasicFlowFunction_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.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8411 GB, free: 12.61 MB / 0.8074 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.412e-05, allocations: 10.25 kB / 0.8411 GB, free: 12.59 MB / 0.8074 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001698/0.001712, allocations: 1.431 MB / 0.8425 GB, free: 11.15 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.0007067/0.002419, allocations: 0.5914 MB / 0.843 GB, free: 10.56 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.002443, allocations: 4 kB / 0.8431 GB, free: 10.55 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.00246, allocations: 3.938 kB / 0.8431 GB, free: 10.55 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 3.035e-05/0.002491, allocations: 0 / 0.8431 GB, free: 10.55 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.002838, allocations: 155.2 kB / 0.8432 GB, free: 10.4 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.002891, allocations: 23.92 kB / 0.8432 GB, free: 10.38 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.002922, allocations: 7.922 kB / 0.8432 GB, free: 10.37 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.002959, allocations: 27.92 kB / 0.8433 GB, free: 10.34 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.003003, allocations: 7.984 kB / 0.8433 GB, free: 10.33 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-06/0.003012, allocations: 0 / 0.8433 GB, free: 10.33 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003699/0.003382, allocations: 331.3 kB / 0.8436 GB, free: 10.01 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.003398, allocations: 4 kB / 0.8436 GB, free: 10 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.003416, allocations: 11.94 kB / 0.8436 GB, free: 9.992 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.003762, allocations: 167.5 kB / 0.8438 GB, free: 9.828 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003764, allocations: 0 / 0.8438 GB, free: 9.828 MB / 0.8074 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003764, allocations: 0 / 0.8438 GB, free: 9.828 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003768, allocations: 0 / 0.8438 GB, free: 9.828 MB / 0.8074 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.0002945/0.004062, allocations: 272.2 kB / 0.844 GB, free: 9.535 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.004093, allocations: 12.03 kB / 0.844 GB, free: 9.523 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.004113, allocations: 8.875 kB / 0.844 GB, free: 9.516 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.254e-05/0.004175, allocations: 109.7 kB / 0.8441 GB, free: 9.383 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.004183, allocations: 384 / 0.8441 GB, free: 9.383 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.004205, allocations: 8.328 kB / 0.8442 GB, free: 9.375 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/0.004288, allocations: 101.6 kB / 0.8443 GB, free: 9.258 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.004297, allocations: 192 / 0.8443 GB, free: 9.258 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.004304, allocations: 384 / 0.8443 GB, free: 9.258 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004309, allocations: 384 / 0.8443 GB, free: 9.258 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.004343, allocations: 19.92 kB / 0.8443 GB, free: 9.238 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.073e-05/0.004424, allocations: 69.03 kB / 0.8443 GB, free: 9.156 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.004488, allocations: 50.5 kB / 0.8444 GB, free: 9.098 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.004507, allocations: 21.08 kB / 0.8444 GB, free: 9.074 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.004519, allocations: 0 / 0.8444 GB, free: 9.074 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.004538, allocations: 42.55 kB / 0.8444 GB, free: 9.023 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.004539, allocations: 0 / 0.8444 GB, free: 9.023 MB / 0.8074 GB Notification: Performance of matching and sorting (n=11): time 0.0006535/0.005192, allocations: 435.5 kB / 0.8449 GB, free: 8.543 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.005209, allocations: 55.41 kB / 0.8449 GB, free: 8.477 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.005251, allocations: 102.7 kB / 0.845 GB, free: 8.363 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005261, allocations: 29.7 kB / 0.845 GB, free: 8.328 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 1.679e-05/0.005278, allocations: 80.14 kB / 0.8451 GB, free: 8.246 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.005308, allocations: 43.62 kB / 0.8452 GB, free: 8.203 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.005336, allocations: 25.7 kB / 0.8452 GB, free: 8.172 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.005396, allocations: 323 kB / 0.8455 GB, free: 7.848 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.005408, allocations: 8 kB / 0.8455 GB, free: 7.84 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.005423, allocations: 11.98 kB / 0.8455 GB, free: 7.828 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.005463, allocations: 48.39 kB / 0.8456 GB, free: 7.781 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.005464, allocations: 0 / 0.8456 GB, free: 7.781 MB / 0.8074 GB Notification: Performance of matching and sorting (n=13) (initialization): time 5.973e-05/0.005523, allocations: 69.61 kB / 0.8456 GB, free: 7.707 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.005533, allocations: 4 kB / 0.8456 GB, free: 7.703 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.005536, allocations: 4 kB / 0.8456 GB, free: 7.699 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.423e-06/0.005543, allocations: 0 / 0.8456 GB, free: 7.699 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.005606, allocations: 23.98 kB / 0.8457 GB, free: 7.676 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.005611, allocations: 3.984 kB / 0.8457 GB, free: 7.672 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.005623, allocations: 7.938 kB / 0.8457 GB, free: 7.664 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.005629, allocations: 7.984 kB / 0.8457 GB, free: 7.656 MB / 0.8074 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 4.322e-05/0.005673, allocations: 113.8 kB / 0.8458 GB, free: 7.535 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.005682, allocations: 11.98 kB / 0.8458 GB, free: 7.523 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.005765, allocations: 77.83 kB / 0.8459 GB, free: 7.445 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005768, allocations: 3.984 kB / 0.8459 GB, free: 7.441 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005769, allocations: 0 / 0.8459 GB, free: 7.441 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.005776, allocations: 11.89 kB / 0.8459 GB, free: 7.43 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.005785, allocations: 0 / 0.8459 GB, free: 7.43 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.005806, allocations: 0 / 0.8459 GB, free: 7.43 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.00582, allocations: 15.98 kB / 0.8459 GB, free: 7.414 MB / 0.8074 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.294e-05/0.005913, allocations: 144.8 kB / 0.846 GB, free: 7.266 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001564/0.006069, allocations: 251.1 kB / 0.8463 GB, free: 7.004 MB / 0.8074 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.155e-05/0.006101, allocations: 36.86 kB / 0.8463 GB, free: 6.965 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 6.412e-06/0.006107, allocations: 4.859 kB / 0.8463 GB, free: 6.957 MB / 0.8074 GB Notification: Performance of Backend: time 1.4e-07/0.006107, allocations: 3.938 kB / 0.8463 GB, free: 6.953 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.006378, allocations: 165.7 kB / 0.8465 GB, free: 6.781 MB / 0.8074 GB Notification: Performance of SimCode: time 0.0004851/0.006863, allocations: 0.7003 MB / 0.8472 GB, free: 6.031 MB / 0.8074 GB Notification: Performance of Templates: time 0.003316/0.01018, allocations: 1.84 MB / 0.849 GB, free: 4.254 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_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.72108204010874]