Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.0008863/0.0008863, allocations: 80.25 kB / 20.03 MB, free: 4.492 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.0008907/0.0008907, allocations: 174.3 kB / 23.34 MB, free: 1.188 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.927/0.927, allocations: 177.1 MB / 203.7 MB, free: 5.723 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.783/1.783, allocations: 390.1 MB / 0.635 GB, free: 11.54 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.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.821e-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.InvertingPowerLaw_dp): time 0.001537/0.001555, allocations: 1.36 MB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.002406, allocations: 0.8334 MB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.002444, allocations: 4 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.002461, allocations: 11.92 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.002529, allocations: 7.922 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.002938, allocations: 206.9 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.003004, allocations: 47.78 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.003046, allocations: 11.98 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.003092, allocations: 23.86 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.003137, allocations: 11.98 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.00315, allocations: 0 / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.003515, allocations: 371.5 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.00353, allocations: 7.969 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.003554, allocations: 15.94 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.003847, allocations: 291.1 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003849, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00385, allocations: 0 / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003854, allocations: 4 kB / 1.006 GB, free: 7.609 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003726/0.004226, allocations: 341.3 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.004266, allocations: 8.625 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.004455, allocations: 28.91 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.507e-05/0.00455, allocations: 117.7 kB / 1.007 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.004565, allocations: 384 / 1.007 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.004576, allocations: 4.375 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.004957, allocations: 42.23 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.004964, allocations: 4.188 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004973, allocations: 384 / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004978, allocations: 4.375 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.704e-05/0.005045, allocations: 23.86 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.005173, allocations: 113.3 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.005262, allocations: 38.55 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.005298, allocations: 12.92 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.005313, allocations: 7.938 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.005333, allocations: 30.56 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005334, allocations: 0 / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/0.005527, allocations: 77.55 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.005559, allocations: 51.41 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.005639, allocations: 129.9 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.005649, allocations: 25.7 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.005684, allocations: 92.08 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.005701, allocations: 15.88 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.005734, allocations: 25.7 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.005808, allocations: 310.8 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.005859, allocations: 24.11 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.736e-05/0.005896, allocations: 27.98 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.005978, allocations: 48.83 kB / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.005979, allocations: 0 / 1.008 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001205/0.0061, allocations: 85.61 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006112, allocations: 7.938 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.006129, allocations: 7.984 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.006142, allocations: 0 / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.006588, allocations: 75.89 kB / 1.008 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.007743, allocations: 1.38 MB / 1.009 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.007769, allocations: 7.891 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007778, allocations: 7.984 kB / 1.009 GB, free: 4.191 MB / 0.9636 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/0.007836, allocations: 109.8 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.007843, allocations: 11.89 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-06/0.00785, allocations: 3.625 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-07/0.00785, allocations: 4.188 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-07/0.007851, allocations: 0 / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007854, allocations: 3.984 kB / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.598e-05/0.00791, allocations: 113.3 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007911, allocations: 0 / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.008374, allocations: 103.9 kB / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.008376, allocations: 0 / 1.009 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.008384, allocations: 7.938 kB / 1.01 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009678/0.009352, allocations: 1.373 MB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-07/0.009353, allocations: 0 / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.219e-05/0.009445, allocations: 92.97 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.00945, allocations: 0 / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-06/0.009455, allocations: 0 / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.009474, allocations: 4.125 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.009492, allocations: 7.984 kB / 1.011 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.009495, allocations: 0 / 1.011 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.009529, allocations: 95.27 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00953, allocations: 0 / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001606/0.00969, allocations: 27.94 kB / 1.011 GB, free: 2.09 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.009808, allocations: 107.2 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.01036, allocations: 157.5 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01036, allocations: 0 / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.01084, allocations: 123.8 kB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.01099, allocations: 7.938 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.01128, allocations: 132.5 kB / 1.012 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.01132, allocations: 75.33 kB / 1.012 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.722e-05/0.01134, allocations: 4 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.01135, allocations: 8.5 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.01135, allocations: 0 / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of Templates: time 0.002775/0.01413, allocations: 1.402 MB / 1.013 GB, free: 48 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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: 5.199005419388413]