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.001096/0.001096, allocations: 85.39 kB / 20.03 MB, free: 4.484 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.000862/0.000862, allocations: 173.9 kB / 23.34 MB, free: 1.18 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.8948/0.8948, allocations: 177.1 MB / 203.7 MB, free: 5.703 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.747/1.747, 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 2.855e-06/2.855e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.002e-05/4.287e-05, allocations: 2.312 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002282/0.002325, allocations: 1.391 MB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003472, allocations: 0.8489 MB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.003523, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.003552, allocations: 7.922 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.00366, allocations: 15.86 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.004188, allocations: 226.9 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.004295, allocations: 51.78 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.353e-05/0.004358, allocations: 3.984 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.004425, allocations: 31.91 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.00451, allocations: 15.98 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.004532, allocations: 7.938 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.004955, allocations: 383.4 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.004975, allocations: 7.938 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.005002, allocations: 15.98 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.005358, allocations: 303.2 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005361, allocations: 0 / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.814e-06/0.005363, allocations: 3.938 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.005369, allocations: 0 / 1.006 GB, free: 7.512 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.000566/0.005935, allocations: 353.3 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.005987, allocations: 11.97 kB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.006272, allocations: 48.83 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.006411, allocations: 108.7 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.006434, allocations: 4.375 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.006446, allocations: 4.375 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.006607, allocations: 58.22 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.006619, allocations: 4.188 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.006629, allocations: 384 / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.006634, allocations: 384 / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.006762, allocations: 47.89 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.00708, allocations: 228.4 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.007629, allocations: 134.5 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.007698, allocations: 32.83 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.007716, allocations: 4 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.007736, allocations: 34.56 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.704e-06/0.007738, allocations: 0 / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002921/0.00803, allocations: 105.7 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.008068, allocations: 51.41 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.00816, allocations: 133.8 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.008175, allocations: 25.7 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.008228, allocations: 88.08 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.008241, allocations: 19.84 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.00828, allocations: 29.7 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.008378, allocations: 322.8 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.008449, allocations: 31.98 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.008529, allocations: 49.69 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.00867, allocations: 100.9 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.008674, allocations: 4 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001851/0.008859, allocations: 129.6 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008871, allocations: 4 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.008886, allocations: 7.938 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.008901, allocations: 0 / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.008956, allocations: 15.92 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.008962, allocations: 0 / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.009003, allocations: 19.88 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.00901, allocations: 0 / 1.008 GB, free: 5.164 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 6.04e-05/0.009071, allocations: 113.9 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.009084, allocations: 8 kB / 1.008 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.009123, allocations: 15.92 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009126, allocations: 0 / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.009131, allocations: 0 / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.009135, allocations: 0 / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.391e-05/0.009229, allocations: 117.2 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.009229, allocations: 0 / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.009268, allocations: 11.98 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.009269, allocations: 4 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.009279, allocations: 4 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.00928, allocations: 7.938 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009281, allocations: 0 / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.009449, allocations: 175.4 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.009459, allocations: 11.95 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.00947, allocations: 0 / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.009517, allocations: 7.938 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.009535, allocations: 3.984 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.009538, allocations: 4 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.009577, allocations: 95.27 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009577, allocations: 4 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001699/0.009747, allocations: 27.94 kB / 1.009 GB, free: 4.504 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.0001374/0.009885, allocations: 114 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.01009, allocations: 101.6 kB / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0101, allocations: 0 / 1.009 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.01015, allocations: 27.92 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01037, allocations: 12.05 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.01075, allocations: 198.7 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.563e-05/0.01081, allocations: 71.33 kB / 1.009 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.01084, allocations: 8.5 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of SimCode: time 3.31e-07/0.01084, allocations: 0 / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of Templates: time 0.001945/0.01279, allocations: 1.098 MB / 1.01 GB, free: 2.82 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 -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: 6.676118134520948]