Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0007808/0.0007808, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.001862, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007173/0.0007173, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009352/0.001653, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9572/0.9572, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.045, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.383/2.383, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2464/2.629, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.264e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002456/0.002479, allocations: 1.421 MB / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.003346, allocations: 0.6149 MB / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.00337, allocations: 0 / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.091e-05/0.003381, allocations: 3.938 kB / 0.8203 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.003409, allocations: 3.938 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.003876, allocations: 155.2 kB / 0.8205 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.003941, allocations: 27.86 kB / 0.8205 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.003981, allocations: 11.98 kB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.004037, allocations: 19.92 kB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.004101, allocations: 15.98 kB / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.004114, allocations: 0 / 0.8206 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.004514, allocations: 255.4 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.004527, allocations: 4 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.904e-05/0.004546, allocations: 8 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.004785, allocations: 135.6 kB / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.004801, allocations: 0 / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004802, allocations: 0 / 0.821 GB, free: 148 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.004819, allocations: 3.938 kB / 0.821 GB, free: 144 kB / 0.7917 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.0004001/0.005219, allocations: 292.2 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005254, allocations: 12.62 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.005285, allocations: 4.938 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.005373, allocations: 121.7 kB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.005385, allocations: 4.375 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.005406, allocations: 4.375 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.00551, allocations: 93.66 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.005522, allocations: 8.125 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.005529, allocations: 384 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005534, allocations: 384 / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.005569, allocations: 23.86 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.005675, allocations: 68.98 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.005758, allocations: 54.62 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.005783, allocations: 16.84 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.005804, allocations: 4 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.005825, allocations: 30.56 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005826, allocations: 0 / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0009094/0.006736, allocations: 447.7 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.006765, allocations: 51.41 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.006827, allocations: 106.6 kB / 0.8222 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.006839, allocations: 25.7 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.006862, allocations: 80.14 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.006902, allocations: 47.75 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.006941, allocations: 33.7 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.007025, allocations: 314.8 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.007045, allocations: 11.98 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.007063, allocations: 8 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.007117, allocations: 41.39 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007118, allocations: 0 / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.396e-05/0.007202, allocations: 58.81 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.007217, allocations: 11.98 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007221, allocations: 0 / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.00723, allocations: 0 / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.007317, allocations: 24 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.007321, allocations: 3.938 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.00734, allocations: 4 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.007349, allocations: 7.984 kB / 0.8229 GB, free: 13.95 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.439e-05/0.007413, allocations: 121.8 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.007426, allocations: 4 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.007545, allocations: 81.7 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007547, allocations: 0 / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.007549, allocations: 0 / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.007556, allocations: 7.938 kB / 0.8231 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.007796, allocations: 226.8 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0078, allocations: 8 kB / 0.8233 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.007889, allocations: 19.98 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.007898, allocations: 11.95 kB / 0.8233 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007901, allocations: 3.984 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007909, allocations: 3.938 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.007912, allocations: 4 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007913, allocations: 0 / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.008067, allocations: 183.4 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.00808, allocations: 4 kB / 0.8235 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.28e-05/0.008143, allocations: 8.016 kB / 0.8235 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.008159, allocations: 7.938 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.008167, allocations: 3.984 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.999e-06/0.008177, allocations: 12.86 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008177, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002336/0.008411, allocations: 43.81 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002225/0.008633, allocations: 136.2 kB / 0.8237 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.008727, allocations: 51.64 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.008733, allocations: 0 / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/0.008763, allocations: 37.27 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.008906, allocations: 15.98 kB / 0.8238 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.009963, allocations: 180.5 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.01, allocations: 59.34 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.01004, allocations: 12 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.01009, allocations: 67.36 kB / 0.8241 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.0101, allocations: 0 / 0.8241 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of Templates: time 0.003435/0.01353, allocations: 1.308 MB / 0.8254 GB, free: 11.28 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.ref.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.062905193306506]