Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001401/0.001401, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00149/0.00149, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.03/1.03, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.8/1.8, allocations: 377.9 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.842e-05, allocations: 7.312 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001698/0.001716, allocations: 1.332 MB / 0.8128 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.002426, allocations: 0.5829 MB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.002446, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.002466, allocations: 5.031 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.002508, allocations: 3.984 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.002944, allocations: 148.8 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.003002, allocations: 23.91 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.292e-05/0.003035, allocations: 0 / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.003083, allocations: 12.52 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.003124, allocations: 8.656 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.003136, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.003418, allocations: 264 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.003433, allocations: 11.92 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.00345, allocations: 5.656 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.00364, allocations: 155.4 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003642, allocations: 4 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003643, allocations: 0 / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.003647, allocations: 0.5938 kB / 0.814 GB, free: 15.19 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003255/0.003973, allocations: 388 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.004008, allocations: 8.812 kB / 0.8144 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.004045, allocations: 9.234 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.309e-05/0.004118, allocations: 113.8 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.004128, allocations: 4.375 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.004146, allocations: 384 / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.4e-05/0.00424, allocations: 69.33 kB / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.004246, allocations: 192 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.004255, allocations: 384 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.004261, allocations: 384 / 0.8146 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.004289, allocations: 21.59 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001168/0.004406, allocations: 116.6 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.004563, allocations: 47.09 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.004589, allocations: 17.98 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.004604, allocations: 0 / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.004627, allocations: 41.39 kB / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004627, allocations: 0 / 0.8148 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004539/0.005081, allocations: 233.5 kB / 0.815 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.005107, allocations: 55.34 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.005163, allocations: 160.6 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005174, allocations: 29.7 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.005205, allocations: 134.8 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.005228, allocations: 19.8 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.005256, allocations: 31.36 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.005349, allocations: 492.1 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.005364, allocations: 4 kB / 0.8159 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.00538, allocations: 17.59 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.005419, allocations: 31.69 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.00542, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.399e-05/0.005484, allocations: 69.61 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.005494, allocations: 4.5 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005498, allocations: 1.5 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.005508, allocations: 0 / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.375e-05/0.005542, allocations: 15.98 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.005547, allocations: 3.938 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.005557, allocations: 2.594 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.005562, allocations: 4 kB / 0.8161 GB, free: 12.86 MB / 0.7761 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 (7): * Single equations (assignments): 7 * 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.302e-05/0.005615, allocations: 156.6 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.005622, allocations: 4 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.835e-05/0.00571, allocations: 69.7 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005713, allocations: 3.984 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005716, allocations: 4.438 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.005719, allocations: 0 / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.005935, allocations: 314.2 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005936, allocations: 0 / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.005974, allocations: 16.89 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.005976, allocations: 0 / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.005984, allocations: 3.938 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.005986, allocations: 4.844 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.005987, allocations: 0 / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.006115, allocations: 227.2 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.006133, allocations: 12.64 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006144, allocations: 7.938 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.006179, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.006196, allocations: 11.98 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.0062, allocations: 4 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.006231, allocations: 123.2 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006231, allocations: 3.938 kB / 0.817 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001611/0.006392, allocations: 19.94 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0001203/0.006512, allocations: 120.9 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.006591, allocations: 39.61 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.006593, allocations: 0 / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.006612, allocations: 20.61 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.006757, allocations: 8 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.007186, allocations: 187 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.007219, allocations: 59.34 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.007238, allocations: 8.391 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.007256, allocations: 12.5 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.007256, allocations: 0 / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.002124/0.00938, allocations: 0.7012 MB / 0.8181 GB, free: 10.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.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.885186939034611]