Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.001722/0.001722, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001552/0.001552, allocations: 211.8 kB / 22.25 MB, free: 4.863 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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 3.454/3.454, allocations: 0.5056 GB / 0.8107 GB, free: 23.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.33 kB / 1.179 GB, free: 16.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3932, allocations: 180.5 MB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.00274/0.396, allocations: 1.368 MB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3975, allocations: 0.8676 MB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.3976, allocations: 0 / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.3976, allocations: 3.938 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.126e-05/0.3977, allocations: 11.88 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.3984, allocations: 211 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3985, allocations: 43.78 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.3985, allocations: 7.984 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.3986, allocations: 15.94 kB / 1.357 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.525e-05/0.3986, allocations: 27.86 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3986, allocations: 4 kB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.3993, allocations: 371.5 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.3993, allocations: 11.94 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.3994, allocations: 19.88 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.3998, allocations: 263.2 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3998, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3998, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.3998, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 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.0005657/0.4004, allocations: 349.3 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4005, allocations: 15.98 kB / 1.358 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.4007, allocations: 24.91 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.4008, allocations: 118.4 kB / 1.358 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.4009, allocations: 384 / 1.358 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.4009, allocations: 8.375 kB / 1.358 GB, free: 2.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4011, allocations: 71.94 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4011, allocations: 192 / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.4011, allocations: 7.922 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4011, allocations: 4 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4013, allocations: 23.97 kB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.4015, allocations: 125.3 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.4018, allocations: 66.47 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.4019, allocations: 20.94 kB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.4019, allocations: 4 kB / 1.359 GB, free: 1.926 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.402, allocations: 34.56 kB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.402, allocations: 3.938 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.002369/0.4043, allocations: 412.8 kB / 1.359 GB, free: 1.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4044, allocations: 55.39 kB / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.4045, allocations: 119.1 kB / 1.359 GB, free: 1.246 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4045, allocations: 29.7 kB / 1.359 GB, free: 1.211 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.4046, allocations: 88.12 kB / 1.359 GB, free: 1.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4046, allocations: 23.8 kB / 1.359 GB, free: 1.098 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.4047, allocations: 33.7 kB / 1.36 GB, free: 1.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4049, allocations: 318.8 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.405, allocations: 47.91 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.4052, allocations: 47.97 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.4055, allocations: 92.77 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4055, allocations: 0 / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003937/0.4059, allocations: 147.7 kB / 1.36 GB, free: 412 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4059, allocations: 8 kB / 1.36 GB, free: 404 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.4059, allocations: 3.938 kB / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.406, allocations: 0 / 1.36 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.4061, allocations: 27.91 kB / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4061, allocations: 160 / 1.36 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4063, allocations: 4 kB / 1.36 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4063, allocations: 7.922 kB / 1.36 GB, free: 360 kB / 1.045 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.000118/0.4064, allocations: 117.8 kB / 1.36 GB, free: 232 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.4064, allocations: 7.953 kB / 1.36 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.4065, allocations: 16.38 kB / 1.36 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4065, allocations: 4 kB / 1.36 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4065, allocations: 0 / 1.36 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4065, allocations: 0 / 1.36 GB, free: 200 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.4073, allocations: 311 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4073, allocations: 3.938 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4075, allocations: 19.97 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4075, allocations: 4.031 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4075, allocations: 4 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4075, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4075, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.4081, allocations: 240.2 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.4081, allocations: 15.91 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.4081, allocations: 11.92 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4083, allocations: 4.328 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.4083, allocations: 12.05 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4083, allocations: 4 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.356e-05/0.4084, allocations: 93.89 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4084, allocations: 0 / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002899/0.4087, allocations: 31.94 kB / 1.361 GB, free: 15.4 MB / 1.061 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.0002075/0.4089, allocations: 115.2 kB / 1.361 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.4093, allocations: 117.6 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4093, allocations: 0 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.4095, allocations: 35.97 kB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.4098, allocations: 12.75 kB / 1.361 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/0.4107, allocations: 261 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.399e-05/0.4108, allocations: 76.59 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.466e-05/0.4108, allocations: 8 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4109, allocations: 11.44 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4109, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of Templates: time 0.005258/0.4162, allocations: 1.837 MB / 1.363 GB, free: 12.92 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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: 9.571013037115335]