Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.000743/0.000743, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001801, 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.0009476/0.0009476, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.002047, 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.9315/0.9315, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09547/1.027, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.401/2.401, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2344/2.635, allocations: 146 MB / 0.8176 GB, free: 3.812 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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.235e-05, allocations: 9.125 kB / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001565/0.001577, allocations: 1.528 MB / 0.8205 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.00256, allocations: 1.133 MB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.002595, allocations: 4 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.979e-06/0.002605, allocations: 3.938 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.002667, allocations: 23.83 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.003085, allocations: 286.7 kB / 0.8219 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.537e-05/0.00317, allocations: 71.66 kB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.003204, allocations: 11.83 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.003282, allocations: 51.89 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.943e-05/0.003351, allocations: 35.89 kB / 0.8221 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.003365, allocations: 4 kB / 0.8221 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004746/0.003839, allocations: 459.2 kB / 0.8225 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.003858, allocations: 11.94 kB / 0.8225 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.003882, allocations: 15.94 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.004206, allocations: 319.2 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.235e-05/0.004218, allocations: 4 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.41e-07/0.004218, allocations: 0 / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.00423, allocations: 0 / 0.8228 GB, free: 14.45 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.0004267/0.004657, allocations: 391.3 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.659e-05/0.004684, allocations: 15.97 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.00491, allocations: 121.9 kB / 0.8233 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.004997, allocations: 117.7 kB / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005008, allocations: 384 / 0.8235 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.005023, allocations: 8.375 kB / 0.8235 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.957e-05/0.005112, allocations: 58.69 kB / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.005118, allocations: 0 / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.005125, allocations: 0 / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.005133, allocations: 11.92 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.15e-05/0.005164, allocations: 11.94 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.901e-05/0.005243, allocations: 68.98 kB / 0.8236 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.005313, allocations: 42.58 kB / 0.8237 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.005331, allocations: 8.859 kB / 0.8237 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.005344, allocations: 4 kB / 0.8237 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.005363, allocations: 30.56 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.005363, allocations: 0 / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001023/0.005466, allocations: 57.61 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.005496, allocations: 59.34 kB / 0.8238 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.005586, allocations: 149.3 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.005596, allocations: 25.7 kB / 0.824 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.005623, allocations: 96.11 kB / 0.8241 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.005643, allocations: 15.84 kB / 0.8241 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.005679, allocations: 29.69 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.005749, allocations: 326.8 kB / 0.8244 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.005772, allocations: 16 kB / 0.8244 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.005796, allocations: 20 kB / 0.8245 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.005858, allocations: 59.16 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005859, allocations: 0 / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.505e-05/0.005944, allocations: 85.62 kB / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.005955, allocations: 8 kB / 0.8246 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.005966, allocations: 4 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.005977, allocations: 3.938 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.006065, allocations: 15.98 kB / 0.8246 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.006069, allocations: 4 kB / 0.8246 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.006118, allocations: 15.88 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006123, allocations: 0 / 0.8246 GB, free: 12.43 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.074e-05/0.006174, allocations: 113.8 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-06/0.006183, allocations: 4 kB / 0.8248 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/0.006267, allocations: 70.08 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006269, allocations: 3.938 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006271, allocations: 8 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006274, allocations: 0 / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.022e-05/0.006334, allocations: 81.83 kB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006335, allocations: 3.938 kB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.006375, allocations: 8 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.006386, allocations: 11.94 kB / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006387, allocations: 0 / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.006392, allocations: 0 / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006393, allocations: 0 / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006395, allocations: 3.938 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.245e-05/0.006457, allocations: 77.06 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.006477, allocations: 4 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.006521, allocations: 3.984 kB / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.006534, allocations: 4 kB / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006538, allocations: 3.938 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.006563, allocations: 32.83 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006563, allocations: 0 / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001468/0.00671, allocations: 59.8 kB / 0.8251 GB, free: 11.89 MB / 0.8073 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.0001516/0.006861, allocations: 136.1 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.006968, allocations: 86.52 kB / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.006972, allocations: 0 / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.748e-05/0.006999, allocations: 25.06 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.007151, allocations: 126.7 kB / 0.8255 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.008051, allocations: 184.9 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.224e-05/0.008083, allocations: 63.34 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.008125, allocations: 4 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.008201, allocations: 63.36 kB / 0.8258 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.008202, allocations: 0 / 0.8258 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of Templates: time 0.003455/0.01166, allocations: 2.136 MB / 0.8279 GB, free: 9.004 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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.044622466899455]