Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.91 kB / 1.061 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7599, allocations: 160.7 MB / 1.218 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.0024/0.7623, allocations: 1.291 MB / 1.219 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.7634, allocations: 0.6217 MB / 1.22 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.7634, allocations: 1.031 kB / 1.22 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.7634, allocations: 3.984 kB / 1.22 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.7635, allocations: 3.938 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.764, allocations: 157.2 kB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/0.7641, allocations: 21.02 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.7641, allocations: 1.219 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.7641, allocations: 9 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.7642, allocations: 15.66 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.7642, allocations: 1.5 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.7647, allocations: 341 kB / 1.221 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.7648, allocations: 8.859 kB / 1.221 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.7648, allocations: 4.188 kB / 1.221 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.765, allocations: 147.4 kB / 1.221 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.765, allocations: 0 / 1.221 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.765, allocations: 4 kB / 1.221 GB, free: 2.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.765, allocations: 1.406 kB / 1.221 GB, free: 2.168 MB / 0.92 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.0004678/0.7655, allocations: 369.9 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7655, allocations: 10.38 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.7656, allocations: 2.094 kB / 1.221 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.7657, allocations: 166.6 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7657, allocations: 384 / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.7658, allocations: 2.625 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.7659, allocations: 48.44 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7659, allocations: 192 / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7659, allocations: 5 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7659, allocations: 1.094 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.057e-05/0.7659, allocations: 13.33 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.7661, allocations: 154.9 kB / 1.222 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.7663, allocations: 39.2 kB / 1.222 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.7663, allocations: 23.3 kB / 1.222 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.7663, allocations: 4.906 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.7664, allocations: 39.7 kB / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.7664, allocations: 1 kB / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0006209/0.767, allocations: 310.9 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.767, allocations: 52.59 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.7671, allocations: 102.3 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.7672, allocations: 33.64 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.7672, allocations: 81.42 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.7672, allocations: 18.55 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.7673, allocations: 18.38 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7674, allocations: 316.1 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.7674, allocations: 10.78 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.7675, allocations: 13.95 kB / 1.223 GB, free: 268 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.7675, allocations: 32.89 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.7675, allocations: 4 kB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000109/0.7676, allocations: 69.08 kB / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7677, allocations: 12.06 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7677, allocations: 0 / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7677, allocations: 1.219 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.7677, allocations: 9.25 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.7677, allocations: 1.188 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.7677, allocations: 0 / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.7678, allocations: 9.953 kB / 1.223 GB, free: 180 kB / 0.92 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 8.848e-05/0.7678, allocations: 125.3 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.7679, allocations: 6 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.768, allocations: 69.84 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.768, allocations: 1.375 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.768, allocations: 0 / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.768, allocations: 1.219 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.7684, allocations: 319.9 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7684, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.7684, allocations: 10.72 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.7684, allocations: 4.031 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.7684, allocations: 6.312 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.7684, allocations: 5 kB / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7684, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.7686, allocations: 185.5 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.7687, allocations: 80.39 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.7687, allocations: 5.172 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.7688, allocations: 5.25 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.7688, allocations: 2.25 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.7688, allocations: 6.094 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.7688, allocations: 77.75 kB / 1.224 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7688, allocations: 3.938 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002498/0.7691, allocations: 23.33 kB / 1.224 GB, free: 15.27 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001884/0.7693, allocations: 121.1 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.7694, allocations: 35.05 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7694, allocations: 0 / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.7694, allocations: 19.44 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.7696, allocations: 11.75 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.7701, allocations: 209.7 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.7704, allocations: 0.6796 MB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.7704, allocations: 7.562 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.7704, allocations: 10.91 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7704, allocations: 0 / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.003126/0.7735, allocations: 0.6713 MB / 1.225 GB, free: 13.92 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.084901749156415]