Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.001851/0.001851, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002409/0.002409, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.789 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.377/3.377, allocations: 0.5056 GB / 0.8107 GB, free: 23.2 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.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 73.81 kB / 1.179 GB, free: 16.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4307, allocations: 180.5 MB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002806/0.4335, allocations: 1.383 MB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.4351, allocations: 0.8442 MB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.4351, allocations: 0 / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.4351, allocations: 11.92 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.4352, allocations: 7.922 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.4359, allocations: 223 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.436, allocations: 59.7 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.4361, allocations: 0 / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.4361, allocations: 27.92 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.4362, allocations: 23.92 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.4362, allocations: 3.938 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.4368, allocations: 379.4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.4368, allocations: 8 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.4369, allocations: 23.86 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.4373, allocations: 267.2 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4373, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4373, allocations: 0 / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4373, 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005694/0.4379, allocations: 353.2 kB / 1.358 GB, free: 2.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.438, allocations: 19.98 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004503/0.4384, allocations: 36.84 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.4386, allocations: 119.5 kB / 1.358 GB, free: 2.285 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4386, allocations: 384 / 1.358 GB, free: 2.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4386, allocations: 8.359 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.4388, allocations: 62.22 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4388, allocations: 192 / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4389, allocations: 3.938 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4389, allocations: 0 / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.4391, allocations: 47.95 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4395, allocations: 220.5 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4407, allocations: 134.5 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.4408, allocations: 32.84 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.4408, allocations: 7.938 kB / 1.359 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.4409, allocations: 34.55 kB / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4409, allocations: 0 / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004791/0.4414, allocations: 101.6 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4414, allocations: 51.41 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.4415, allocations: 140.3 kB / 1.359 GB, free: 1.375 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.4416, allocations: 29.7 kB / 1.359 GB, free: 1.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.4416, allocations: 88.09 kB / 1.359 GB, free: 1.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.4416, allocations: 15.89 kB / 1.359 GB, free: 1.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.4417, allocations: 29.7 kB / 1.359 GB, free: 1.199 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4418, allocations: 318.8 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.4421, allocations: 35.97 kB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4422, allocations: 53.69 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.4425, allocations: 97.56 kB / 1.36 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4425, allocations: 0 / 1.36 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003613/0.4429, allocations: 123.1 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4429, allocations: 4 kB / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.4429, allocations: 8 kB / 1.36 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4429, allocations: 0 / 1.36 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.443, allocations: 23.86 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.443, allocations: 0 / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.4431, allocations: 23.83 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4432, allocations: 8.031 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * 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 9.014e-05/0.4432, allocations: 106.5 kB / 1.36 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.4433, allocations: 7.938 kB / 1.36 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.4433, allocations: 8 kB / 1.36 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.4433, allocations: 0 / 1.36 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4433, allocations: 3.984 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4433, allocations: 0 / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.4435, allocations: 117.3 kB / 1.36 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4435, allocations: 4 kB / 1.36 GB, free: 208 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4436, allocations: 11.98 kB / 1.36 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4436, allocations: 7.938 kB / 1.36 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4436, allocations: 0 / 1.36 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4436, allocations: 0 / 1.36 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4436, allocations: 0 / 1.36 GB, free: 188 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.444, allocations: 183.7 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.444, allocations: 15.91 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.444, allocations: 0 / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.4441, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.4442, allocations: 3.984 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4442, allocations: 8 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.4443, allocations: 102.3 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4443, allocations: 0 / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002794/0.4445, allocations: 23.94 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001846/0.4447, allocations: 115.1 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.4451, allocations: 101.6 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4451, allocations: 8 kB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4452, allocations: 24.05 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.4455, allocations: 4 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.4461, allocations: 177.8 kB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.4462, allocations: 63.34 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.819e-05/0.4462, allocations: 11.98 kB / 1.361 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.4463, allocations: 15.44 kB / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.4463, allocations: 0 / 1.361 GB, free: 15.26 MB / 1.061 GB Notification: Performance of Templates: time 0.004318/0.4506, allocations: 1.336 MB / 1.363 GB, free: 13.94 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.559602171182632]