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.0008937/0.0008937, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.002077, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007393/0.0007393, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009897/0.001729, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9981/0.9981, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.107, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.506/2.506, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2939/2.8, allocations: 145.9 MB / 0.817 GB, free: 4.23 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.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",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.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8184 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.372e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002772/0.002796, allocations: 1.501 MB / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.006561/0.009356, allocations: 1.748 MB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.009393, allocations: 4 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.009429, allocations: 7.922 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.009525, allocations: 15.91 kB / 0.8216 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.01368, allocations: 0.4899 MB / 0.822 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.01392, allocations: 183.6 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.01397, allocations: 15.97 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.0141, allocations: 75.88 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.01424, allocations: 67.86 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.01426, allocations: 8 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.01552, allocations: 0.7995 MB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.01559, allocations: 47.92 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.01564, allocations: 27.88 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.01954, allocations: 0.5999 MB / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.02e-05/0.01956, allocations: 0 / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.044e-06/0.01956, allocations: 0 / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.01958, allocations: 0 / 0.8238 GB, free: 13.24 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007603/0.02034, allocations: 0.4983 MB / 0.8243 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.02038, allocations: 12.62 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.02043, allocations: 4.938 kB / 0.8243 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.02055, allocations: 126.5 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.02057, allocations: 4.375 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.02059, allocations: 8.375 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.02073, allocations: 72.67 kB / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.02074, allocations: 0 / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.02075, allocations: 0 / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.02076, allocations: 0 / 0.8245 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.02085, allocations: 27.97 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.02124, allocations: 229.7 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.02141, allocations: 112.1 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.02147, allocations: 28.77 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.0215, allocations: 8 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.02153, allocations: 34.5 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.02153, allocations: 4 kB / 0.8249 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002092/0.02174, allocations: 73.61 kB / 0.825 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.02178, allocations: 55.41 kB / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.02192, allocations: 192.3 kB / 0.8252 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.02194, allocations: 29.7 kB / 0.8253 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.02202, allocations: 104.5 kB / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.02205, allocations: 35.64 kB / 0.8254 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.02214, allocations: 53.64 kB / 0.8255 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.02224, allocations: 326.8 kB / 0.8258 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.02231, allocations: 42.81 kB / 0.8258 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.02239, allocations: 57.44 kB / 0.8259 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.02256, allocations: 127.8 kB / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02256, allocations: 0 / 0.826 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002488/0.02281, allocations: 160.2 kB / 0.8261 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.02283, allocations: 7.938 kB / 0.8261 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.02285, allocations: 4 kB / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.02286, allocations: 3.984 kB / 0.8262 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.02298, allocations: 20 kB / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.02299, allocations: 112 / 0.8262 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.02304, allocations: 35.67 kB / 0.8262 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.02306, allocations: 8.016 kB / 0.8262 GB, free: 10.6 MB / 0.8073 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 8.582e-05/0.02315, allocations: 116.7 kB / 0.8263 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.02318, allocations: 7.938 kB / 0.8263 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.02343, allocations: 107 kB / 0.8264 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.02343, allocations: 3.984 kB / 0.8264 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.02343, allocations: 0 / 0.8264 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.02344, allocations: 0 / 0.8264 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.0236, allocations: 105.8 kB / 0.8265 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.02361, allocations: 0 / 0.8265 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.352e-05/0.0237, allocations: 23.92 kB / 0.8266 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.02372, allocations: 15.91 kB / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.02372, allocations: 3.938 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.02373, allocations: 4 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.02373, allocations: 0 / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02374, allocations: 3.984 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.02391, allocations: 206.2 kB / 0.8268 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.02393, allocations: 0 / 0.8268 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.02399, allocations: 7.938 kB / 0.8268 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.02401, allocations: 7.984 kB / 0.8268 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.02402, allocations: 4 kB / 0.8268 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.02407, allocations: 49.64 kB / 0.8269 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.02407, allocations: 4 kB / 0.8269 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003332/0.0244, allocations: 103.7 kB / 0.827 GB, free: 9.781 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 (10): * Single equations (assignments): 10 * 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.0002986/0.0247, allocations: 184 kB / 0.8271 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007712/0.02547, allocations: 169.8 kB / 0.8273 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.02548, allocations: 4 kB / 0.8273 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.02553, allocations: 29.34 kB / 0.8273 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.02577, allocations: 31.98 kB / 0.8274 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.02667, allocations: 263 kB / 0.8276 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.315e-05/0.02675, allocations: 75.33 kB / 0.8277 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.493e-05/0.02683, allocations: 28.47 kB / 0.8277 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.02695, allocations: 67.38 kB / 0.8278 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of SimCode: time 1.452e-06/0.02695, allocations: 0 / 0.8278 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of Templates: time 0.006314/0.03327, allocations: 3.386 MB / 0.8311 GB, free: 5.504 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.ref.csv","",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.542901146225631]