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.001019/0.001019, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001023/0.001023, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8807/0.8807, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.766/1.766, allocations: 390.1 MB / 0.6348 GB, free: 11.65 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.683e-06/1.683e-06, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.724e-05, allocations: 2.281 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001709/0.001737, allocations: 1.383 MB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.002617, allocations: 0.8529 MB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.002659, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.002677, allocations: 3.938 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.002752, allocations: 7.938 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.003261, allocations: 230.1 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.003345, allocations: 55.72 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.003386, allocations: 7.984 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.003439, allocations: 31.95 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.003502, allocations: 19.92 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003517, allocations: 4 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.003937, allocations: 375.4 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.00396, allocations: 15.92 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.003987, allocations: 15.92 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.004299, allocations: 299.2 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004302, allocations: 0 / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004303, allocations: 0 / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.004309, allocations: 3.984 kB / 1.006 GB, free: 7.672 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.0004223/0.004731, allocations: 353.3 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.004769, allocations: 12.03 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.005008, allocations: 40.83 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.00512, allocations: 109.8 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.005138, allocations: 4.375 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.005153, allocations: 8.375 kB / 1.006 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.005289, allocations: 58.22 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.0053, allocations: 4.172 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.005312, allocations: 4.375 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005317, allocations: 8.312 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.005432, allocations: 47.89 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.005714, allocations: 220.5 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.006413, allocations: 138.5 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.006505, allocations: 32.83 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.006515, allocations: 3.938 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.006534, allocations: 38.5 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.006536, allocations: 0 / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0003415/0.006877, allocations: 101.6 kB / 1.007 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.006915, allocations: 63.33 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.007021, allocations: 129.8 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.007041, allocations: 29.7 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.007096, allocations: 88.09 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.007113, allocations: 15.84 kB / 1.007 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.007167, allocations: 29.7 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.007299, allocations: 318.8 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.007397, allocations: 35.98 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.0075, allocations: 49.69 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.007696, allocations: 96.67 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.007701, allocations: 0 / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.007963, allocations: 125.5 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.007976, allocations: 4 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.007992, allocations: 7.938 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.008006, allocations: 3.984 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.008084, allocations: 15.98 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.00809, allocations: 0 / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.008165, allocations: 15.92 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.008178, allocations: 4 kB / 1.008 GB, free: 5.316 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 8.905e-05/0.008267, allocations: 117.8 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.008294, allocations: 4 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.008331, allocations: 7.938 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008334, allocations: 0 / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.008342, allocations: 4 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.008347, allocations: 0 / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.0085, allocations: 121.2 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008502, allocations: 0 / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.008578, allocations: 19.92 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.00858, allocations: 0 / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.00859, allocations: 0 / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.008595, allocations: 8.062 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008596, allocations: 0 / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.008854, allocations: 179.5 kB / 1.009 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.008866, allocations: 3.953 kB / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.008881, allocations: 240 / 1.009 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.008956, allocations: 15.92 kB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.008974, allocations: 11.94 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.00898, allocations: 3.984 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.73e-05/0.009028, allocations: 103.2 kB / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009028, allocations: 0 / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001812/0.009209, allocations: 27.92 kB / 1.009 GB, free: 4.641 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.0001345/0.009344, allocations: 110.4 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.009547, allocations: 101.6 kB / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.009554, allocations: 64 / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.009607, allocations: 31.97 kB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.009815, allocations: 7.938 kB / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.01019, allocations: 191.1 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.946e-05/0.01024, allocations: 71.33 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.01027, allocations: 12.5 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.01027, allocations: 4 kB / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of Templates: time 0.001784/0.01205, allocations: 1.096 MB / 1.01 GB, free: 2.961 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.439637033268809]