Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001208/0.001208, allocations: 83.73 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.004587/0.004587, allocations: 153.7 kB / 24.31 MB, free: 9.078 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.853/0.853, allocations: 177.2 MB / 204.8 MB, free: 5.379 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.253/2.253, 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_dp_inv_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.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8411 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.388e-05, allocations: 5.828 kB / 0.8411 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002218/0.002231, allocations: 1.443 MB / 0.8425 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.003174, allocations: 0.6031 MB / 0.8431 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.003207, allocations: 0 / 0.8431 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.003226, allocations: 7.938 kB / 0.8431 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.003265, allocations: 7.922 kB / 0.8431 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.003784, allocations: 155.2 kB / 0.8432 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.003838, allocations: 23.92 kB / 0.8433 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.003872, allocations: 7.984 kB / 0.8433 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.003911, allocations: 23.92 kB / 0.8433 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.003963, allocations: 7.984 kB / 0.8433 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.003974, allocations: 4 kB / 0.8433 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.004438, allocations: 323.3 kB / 0.8436 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.004456, allocations: 11.98 kB / 0.8436 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.004477, allocations: 11.92 kB / 0.8436 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.004728, allocations: 167.5 kB / 0.8438 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.00473, allocations: 0 / 0.8438 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.42e-07/0.00473, allocations: 3.938 kB / 0.8438 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.004734, allocations: 0 / 0.8438 GB, free: 9.809 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.0002803/0.005014, allocations: 272.2 kB / 0.844 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.005048, allocations: 12.03 kB / 0.8441 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.005073, allocations: 4.938 kB / 0.8441 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.005153, allocations: 105.7 kB / 0.8442 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.005164, allocations: 8.359 kB / 0.8442 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.005189, allocations: 12.33 kB / 0.8442 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.005283, allocations: 93.64 kB / 0.8443 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005292, allocations: 192 / 0.8443 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.0053, allocations: 4.375 kB / 0.8443 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.005305, allocations: 384 / 0.8443 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.005336, allocations: 23.86 kB / 0.8443 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.339e-05/0.005429, allocations: 61.05 kB / 0.8444 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.005511, allocations: 54.62 kB / 0.8444 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.005532, allocations: 12.86 kB / 0.8444 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.005547, allocations: 7.984 kB / 0.8444 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.00557, allocations: 34.56 kB / 0.8445 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.005571, allocations: 0 / 0.8445 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0008201/0.006391, allocations: 451.5 kB / 0.8449 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.006433, allocations: 55.39 kB / 0.8449 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.006489, allocations: 106.6 kB / 0.845 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.006502, allocations: 29.7 kB / 0.8451 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.006529, allocations: 80.14 kB / 0.8452 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.006564, allocations: 39.64 kB / 0.8452 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.006603, allocations: 29.83 kB / 0.8452 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.006679, allocations: 322.8 kB / 0.8455 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.006697, allocations: 8 kB / 0.8455 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.006715, allocations: 11.98 kB / 0.8455 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.006766, allocations: 35.47 kB / 0.8456 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006767, allocations: 3.938 kB / 0.8456 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.626e-05/0.006853, allocations: 69.61 kB / 0.8457 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.006865, allocations: 8 kB / 0.8457 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.006869, allocations: 0 / 0.8457 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.006877, allocations: 0 / 0.8457 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.598e-05/0.006963, allocations: 23.98 kB / 0.8457 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.006969, allocations: 4 kB / 0.8457 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.006988, allocations: 3.938 kB / 0.8457 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.006994, allocations: 4 kB / 0.8457 GB, free: 7.641 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 (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 5.639e-05/0.007051, allocations: 113.8 kB / 0.8458 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.007067, allocations: 15.98 kB / 0.8458 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.007171, allocations: 69.8 kB / 0.8459 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.007176, allocations: 3.984 kB / 0.8459 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007177, allocations: 0 / 0.8459 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.007187, allocations: 15.88 kB / 0.8459 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.007198, allocations: 0 / 0.8459 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.007227, allocations: 4 kB / 0.8459 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.007245, allocations: 11.98 kB / 0.8459 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001251/0.00737, allocations: 144.8 kB / 0.8461 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001679/0.007538, allocations: 250.7 kB / 0.8463 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.426e-05/0.007572, allocations: 28.83 kB / 0.8463 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.275e-06/0.007581, allocations: 4.859 kB / 0.8463 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of Backend: time 2.71e-07/0.007581, allocations: 0 / 0.8463 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.007966, allocations: 178 kB / 0.8465 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of SimCode: time 0.000643/0.008609, allocations: 0.7002 MB / 0.8472 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of Templates: time 0.003803/0.01241, allocations: 1.81 MB / 0.8489 GB, free: 4.262 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.730639999732375]