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.001096/0.001096, allocations: 83.67 kB / 20.98 MB, free: 3.32 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.003468/0.003468, allocations: 157.1 kB / 24.44 MB, free: 9.215 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.937/0.937, allocations: 177.2 MB / 204.9 MB, free: 5.434 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.375/2.375, allocations: 439.8 MB / 0.6849 GB, free: 12.57 MB / 0.6511 GB " [Timeout remaining time 177] 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.653e-06/1.653e-06, allocations: 0 / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.778e-05, allocations: 6.25 kB / 0.8412 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002759/0.002787, allocations: 1.446 MB / 0.8426 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003871, allocations: 0.6031 MB / 0.8432 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.003909, allocations: 0 / 0.8432 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.003933, allocations: 11.98 kB / 0.8432 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.003979, allocations: 0 / 0.8432 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.00462, allocations: 159.2 kB / 0.8434 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.00469, allocations: 31.8 kB / 0.8434 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.004733, allocations: 4 kB / 0.8434 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.004777, allocations: 11.98 kB / 0.8434 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.004841, allocations: 15.97 kB / 0.8435 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.004855, allocations: 4 kB / 0.8435 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.005358, allocations: 335.2 kB / 0.8438 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.005379, allocations: 4 kB / 0.8438 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.005402, allocations: 11.98 kB / 0.8438 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.00568, allocations: 167.5 kB / 0.844 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005683, allocations: 0 / 0.844 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005684, allocations: 0 / 0.844 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005689, allocations: 0 / 0.844 GB, free: 9.867 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.0003422/0.006031, allocations: 264.2 kB / 0.8442 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006068, allocations: 12.03 kB / 0.8442 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.0061, allocations: 4.938 kB / 0.8442 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.006207, allocations: 121.7 kB / 0.8443 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.006224, allocations: 8.375 kB / 0.8443 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.006257, allocations: 8.328 kB / 0.8444 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.006391, allocations: 93.66 kB / 0.8444 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.006404, allocations: 192 / 0.8444 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.006413, allocations: 4.312 kB / 0.8444 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.006424, allocations: 384 / 0.8444 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.263e-05/0.006457, allocations: 15.92 kB / 0.8445 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.006571, allocations: 68.98 kB / 0.8445 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.006664, allocations: 54.56 kB / 0.8446 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.006689, allocations: 20.84 kB / 0.8446 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.006707, allocations: 4 kB / 0.8446 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.006732, allocations: 30.56 kB / 0.8446 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.006733, allocations: 0 / 0.8446 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0009711/0.007704, allocations: 443.7 kB / 0.8451 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.007738, allocations: 51.41 kB / 0.8451 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.007803, allocations: 106.6 kB / 0.8452 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.007817, allocations: 25.7 kB / 0.8452 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.007842, allocations: 80.14 kB / 0.8453 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.007888, allocations: 51.56 kB / 0.8454 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.00793, allocations: 25.72 kB / 0.8454 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.008023, allocations: 318.8 kB / 0.8457 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.008044, allocations: 8 kB / 0.8457 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.008065, allocations: 16.11 kB / 0.8457 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.008122, allocations: 40.83 kB / 0.8457 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008122, allocations: 0 / 0.8457 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001079/0.00823, allocations: 68.86 kB / 0.8458 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.008247, allocations: 8 kB / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008252, allocations: 0 / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.008262, allocations: 0 / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.00836, allocations: 23.98 kB / 0.8458 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.008365, allocations: 3.938 kB / 0.8458 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.008386, allocations: 8 kB / 0.8459 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.008392, allocations: 0 / 0.8459 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 (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 6.824e-05/0.00846, allocations: 121.8 kB / 0.846 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.008474, allocations: 7.938 kB / 0.846 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.008601, allocations: 77.72 kB / 0.8461 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.008606, allocations: 4 kB / 0.8461 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.008607, allocations: 0 / 0.8461 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.008615, allocations: 11.92 kB / 0.8461 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.008861, allocations: 218.8 kB / 0.8463 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008863, allocations: 4 kB / 0.8463 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.008955, allocations: 20 kB / 0.8463 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.008961, allocations: 7.984 kB / 0.8463 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.008969, allocations: 4 kB / 0.8463 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.00897, allocations: 0 / 0.8463 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.008974, allocations: 3.938 kB / 0.8463 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.009144, allocations: 187.6 kB / 0.8465 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.009154, allocations: 7.953 kB / 0.8465 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.009166, allocations: 0 / 0.8465 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.009225, allocations: 4 kB / 0.8465 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.009247, allocations: 11.92 kB / 0.8465 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.009254, allocations: 4 kB / 0.8465 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.031e-05/0.009264, allocations: 4.859 kB / 0.8465 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009264, allocations: 4.125 kB / 0.8465 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002928/0.009557, allocations: 63.73 kB / 0.8466 GB, free: 6.895 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.0002475/0.009804, allocations: 148.1 kB / 0.8467 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.009911, allocations: 48.72 kB / 0.8468 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009914, allocations: 0 / 0.8468 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.009948, allocations: 32.83 kB / 0.8468 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.0101, allocations: 8 kB / 0.8468 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.01067, allocations: 228.1 kB / 0.847 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.01071, allocations: 59.36 kB / 0.8471 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.01076, allocations: 19.91 kB / 0.8471 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.01082, allocations: 63.38 kB / 0.8472 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.01082, allocations: 0 / 0.8472 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of Templates: time 0.004049/0.01487, allocations: 1.549 MB / 0.8487 GB, free: 4.742 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: 5.08751520793885]