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.001115/0.001115, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.00285, allocations: 440 kB / 10.41 MB, free: 284 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.001109/0.001109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002602, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.944/0.944, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08311/1.027, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.406/2.406, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2281/2.634, allocations: 146 MB / 0.8176 GB, free: 3.816 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.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 1.493e-06/1.493e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.028e-05, allocations: 5.266 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.00188/0.0019, allocations: 1.481 MB / 0.8204 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002907, allocations: 0.977 MB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.002933, allocations: 0 / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.002945, allocations: 7.922 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.266e-05/0.002978, allocations: 15.88 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.0034, allocations: 258.8 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.003487, allocations: 39.8 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.00353, allocations: 11.98 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.003613, allocations: 39.89 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.003671, allocations: 11.98 kB / 0.8218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.003683, allocations: 0 / 0.8218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.004163, allocations: 431.3 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.004188, allocations: 7.938 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.00421, allocations: 8 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.004538, allocations: 299.1 kB / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.004551, allocations: 0 / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004552, allocations: 0 / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.004566, allocations: 0 / 0.8225 GB, free: 14.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004/0.004966, allocations: 355.5 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.004997, allocations: 8.031 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.005031, allocations: 8.922 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.005113, allocations: 121.6 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.005122, allocations: 384 / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.005148, allocations: 4.375 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.811e-05/0.005226, allocations: 63.95 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.005232, allocations: 192 / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.005239, allocations: 4.125 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.005246, allocations: 4 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.005267, allocations: 7.984 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.196e-05/0.005349, allocations: 65.05 kB / 0.8231 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.005477, allocations: 46.52 kB / 0.8231 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.005494, allocations: 8.859 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.00551, allocations: 4 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.005531, allocations: 30.56 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.005531, allocations: 0 / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0008698/0.006401, allocations: 426.8 kB / 0.8236 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.006424, allocations: 59.34 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.006484, allocations: 125.5 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006494, allocations: 33.7 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.006519, allocations: 88.11 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.006539, allocations: 19.8 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.006573, allocations: 33.67 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.006645, allocations: 318.8 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.006663, allocations: 12 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.00668, allocations: 12 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.006727, allocations: 48.75 kB / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006728, allocations: 0 / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.497e-05/0.006803, allocations: 79.73 kB / 0.8244 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.006813, allocations: 8 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.006823, allocations: 0 / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.006834, allocations: 0 / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.006887, allocations: 15.98 kB / 0.8244 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.00689, allocations: 3.938 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.006911, allocations: 4 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.006916, allocations: 0 / 0.8244 GB, free: 12.64 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 (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 5.197e-05/0.006968, allocations: 117.8 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.006974, allocations: 4 kB / 0.8245 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.007065, allocations: 73.92 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007068, allocations: 4 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.007071, allocations: 3.938 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.007073, allocations: 0 / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.007275, allocations: 219.6 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.007278, allocations: 4 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.007324, allocations: 15.98 kB / 0.8248 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.007338, allocations: 11.98 kB / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.00734, allocations: 0 / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.007348, allocations: 3.938 kB / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007349, allocations: 192 / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.00735, allocations: 0 / 0.8248 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.007468, allocations: 176.3 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.007479, allocations: 4 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.007519, allocations: 7.938 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.007531, allocations: 0 / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.007536, allocations: 7.984 kB / 0.825 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.691e-05/0.007553, allocations: 20.88 kB / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007553, allocations: 0 / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001631/0.007716, allocations: 59.8 kB / 0.8251 GB, free: 11.86 MB / 0.8073 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.0001749/0.007891, allocations: 136.2 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.007994, allocations: 78.45 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.008003, allocations: 7.938 kB / 0.8253 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.008028, allocations: 16.86 kB / 0.8253 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.008188, allocations: 41.69 kB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.009065, allocations: 185.9 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.009095, allocations: 59.34 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.009126, allocations: 8 kB / 0.8256 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.009182, allocations: 63.36 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of SimCode: time 8.52e-07/0.009183, allocations: 3.938 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.003048/0.01223, allocations: 1.803 MB / 0.8274 GB, free: 9.438 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.057197652757168]