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.001012/0.001012, allocations: 80.25 kB / 20.03 MB, free: 4.492 MB / 18.57 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.001284/0.001284, allocations: 177.9 kB / 23.34 MB, free: 1.184 MB / 18.57 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.9344/0.9344, allocations: 177.1 MB / 203.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.871/1.871, allocations: 390.1 MB / 0.635 GB, free: 11.55 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.473e-06/1.473e-06, allocations: 3.938 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.975e-05, allocations: 6.25 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001498/0.001518, allocations: 1.395 MB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.002485, allocations: 0.849 MB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.002529, allocations: 0 / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.002549, allocations: 7.922 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.002625, allocations: 7.938 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.003126, allocations: 230.8 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.003208, allocations: 55.72 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.00325, allocations: 3.984 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.003295, allocations: 27.97 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.003351, allocations: 23.91 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.003363, allocations: 4 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.003736, allocations: 375.4 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.003751, allocations: 4 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.003778, allocations: 19.91 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.004076, allocations: 307.1 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004079, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.062e-06/0.00408, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.004084, allocations: 0 / 1.006 GB, free: 7.527 MB / 0.9636 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.0003659/0.00445, allocations: 353.3 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.004483, allocations: 8.031 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.004703, allocations: 44.83 kB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/0.00479, allocations: 109.7 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004805, allocations: 384 / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.004815, allocations: 4.375 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.004941, allocations: 74.09 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004947, allocations: 192 / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004956, allocations: 384 / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.004961, allocations: 384 / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.005085, allocations: 47.89 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.005336, allocations: 224.5 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.005865, allocations: 138.4 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.005934, allocations: 36.83 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.005946, allocations: 0 / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.005961, allocations: 30.56 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005962, allocations: 0 / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002666/0.006229, allocations: 109.7 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.006256, allocations: 51.41 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.006328, allocations: 129.8 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.006338, allocations: 25.7 kB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.00638, allocations: 100 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.006391, allocations: 15.91 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.006425, allocations: 25.7 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.006499, allocations: 322.8 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.006566, allocations: 27.98 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.006642, allocations: 61.69 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.006774, allocations: 85.61 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006776, allocations: 0 / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000179/0.006955, allocations: 141.1 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006966, allocations: 4 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.006977, allocations: 7.938 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.006991, allocations: 4.031 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.007043, allocations: 11.98 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.007049, allocations: 7.984 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.073e-05/0.00709, allocations: 11.89 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.007097, allocations: 0 / 1.008 GB, free: 5.176 MB / 0.9636 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 5.25e-05/0.007149, allocations: 117.8 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.007165, allocations: 7.984 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.00719, allocations: 7.938 kB / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007192, allocations: 0 / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007195, allocations: 4 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.007198, allocations: 3.938 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.638e-05/0.007284, allocations: 121.2 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007285, allocations: 0 / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.007326, allocations: 15.98 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007327, allocations: 0 / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.007334, allocations: 0 / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007335, allocations: 3.938 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007336, allocations: 0 / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.007495, allocations: 175.5 kB / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.007505, allocations: 11.95 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.007517, allocations: 0 / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.007566, allocations: 15.86 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.00758, allocations: 4 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/0.007584, allocations: 4 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.007617, allocations: 91.27 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007618, allocations: 0 / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001678/0.007785, allocations: 20 kB / 1.009 GB, free: 4.523 MB / 0.9636 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.0001146/0.0079, allocations: 115.2 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.008101, allocations: 105.6 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008102, allocations: 0 / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.976e-05/0.008162, allocations: 27.92 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.008356, allocations: 10.42 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.008672, allocations: 169.1 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.008716, allocations: 79.39 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.008747, allocations: 0 / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.008774, allocations: 12.5 kB / 1.009 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of SimCode: time 8.01e-07/0.008775, allocations: 4 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of Templates: time 0.002495/0.01127, allocations: 1.284 MB / 1.011 GB, free: 2.68 MB / 0.9636 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 -s cvode -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: 5.308260129764676]