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.0007758/0.0007758, allocations: 80.25 kB / 20.04 MB, free: 4.48 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.0007874/0.0007874, allocations: 177.9 kB / 23.35 MB, free: 1.172 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.8596/0.8596, allocations: 177.2 MB / 203.7 MB, free: 5.652 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.735/1.735, allocations: 390.1 MB / 0.635 GB, free: 11.55 MB / 0.6042 GB " [Timeout remaining time 178] 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.393e-06/1.393e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.496e-05, allocations: 2.312 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001492/0.001507, allocations: 1.394 MB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.002328, allocations: 0.8528 MB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.002372, allocations: 0 / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.00239, allocations: 3.938 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.002463, allocations: 15.84 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.00292, allocations: 226.9 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.00299, allocations: 47.78 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.00303, allocations: 11.98 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.003072, allocations: 23.92 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.003126, allocations: 23.95 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003142, allocations: 4 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.003521, allocations: 375.4 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.003538, allocations: 11.92 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.003559, allocations: 8 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.003854, allocations: 311.1 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003858, allocations: 4 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003858, allocations: 0 / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.003862, allocations: 0 / 1.006 GB, free: 7.508 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.0003671/0.004229, allocations: 357.2 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004264, allocations: 8.031 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.004478, allocations: 44.78 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.004565, allocations: 105.8 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.004579, allocations: 384 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.004591, allocations: 8.359 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.004716, allocations: 66.22 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.004723, allocations: 192 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.004733, allocations: 384 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.004736, allocations: 384 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.004858, allocations: 47.89 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.005103, allocations: 224.5 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.005634, allocations: 138.5 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.005702, allocations: 36.84 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.005715, allocations: 0 / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.00573, allocations: 30.56 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.005732, allocations: 3.984 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002732/0.006005, allocations: 117.5 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.006028, allocations: 51.41 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.006104, allocations: 133 kB / 1.008 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006116, allocations: 25.7 kB / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.006156, allocations: 92.08 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.006169, allocations: 19.83 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.006205, allocations: 29.7 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.006273, allocations: 318.8 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.006344, allocations: 31.97 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.064e-05/0.006425, allocations: 61.69 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.00656, allocations: 85.56 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006562, allocations: 0 / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001842/0.006746, allocations: 129.6 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.006757, allocations: 4 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.006767, allocations: 7.938 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.006781, allocations: 7.969 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.006834, allocations: 15.92 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.00684, allocations: 4 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.006882, allocations: 11.89 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.006891, allocations: 7.984 kB / 1.008 GB, free: 5.145 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.125e-05/0.006942, allocations: 109.8 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.006958, allocations: 4 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.00698, allocations: 4 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.006984, allocations: 3.938 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006984, allocations: 4 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.006993, allocations: 7.953 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007005, allocations: 3.984 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.007058, allocations: 8 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.007072, allocations: 3.984 kB / 1.008 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001773/0.007249, allocations: 164.9 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000299/0.007548, allocations: 250.7 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.895e-05/0.007617, allocations: 35.97 kB / 1.009 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.329e-05/0.007651, allocations: 94.39 kB / 1.009 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of Backend: time 3.01e-07/0.007651, allocations: 0 / 1.009 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.00814, allocations: 255.5 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0003729/0.008513, allocations: 0.5961 MB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of Templates: time 0.003852/0.01236, allocations: 3.068 MB / 1.013 GB, free: 492 kB / 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 -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: 4.804445371031761]