Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.0008314/0.0008314, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007941/0.0007941, allocations: 177.9 kB / 23.22 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.8663/0.8663, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.821/1.821, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.083e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002233/0.002254, allocations: 2.018 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.004388, allocations: 2.362 MB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.004483, allocations: 7.938 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.005341, allocations: 473.7 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.005436, allocations: 71.53 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.006112, allocations: 283.2 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.006435, allocations: 337.3 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.006559, allocations: 45.25 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.00668, allocations: 155.5 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.006817, allocations: 107.7 kB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.006839, allocations: 8 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.007183, allocations: 339.5 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.007266, allocations: 99.58 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.00735, allocations: 103.6 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006419/0.007992, allocations: 0.8527 MB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007995, allocations: 7.984 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.332e-06/0.007997, allocations: 0 / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.008002, allocations: 0 / 1.008 GB, free: 5.695 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007322/0.008735, allocations: 0.808 MB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.00877, allocations: 13.34 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.008831, allocations: 64.52 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.009132, allocations: 342.4 kB / 1.009 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.009148, allocations: 8.375 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.009162, allocations: 4.375 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.009349, allocations: 158.2 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.009358, allocations: 3.938 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.009371, allocations: 4 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.009375, allocations: 7.938 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.009499, allocations: 129.6 kB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.009985, allocations: 468.1 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.01011, allocations: 124.2 kB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.01018, allocations: 90.67 kB / 1.01 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.01021, allocations: 4 kB / 1.01 GB, free: 3.359 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.01036, allocations: 166.8 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.01036, allocations: 0 / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0003537/0.01072, allocations: 378.7 kB / 1.011 GB, free: 2.777 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.01075, allocations: 85.11 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.01129, allocations: 0.7581 MB / 1.011 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.01131, allocations: 25.7 kB / 1.012 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.01148, allocations: 299.9 kB / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.0115, allocations: 31.77 kB / 1.012 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.01154, allocations: 29.72 kB / 1.012 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.01161, allocations: 310 kB / 1.012 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.01167, allocations: 77.69 kB / 1.012 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.01173, allocations: 85.61 kB / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.01185, allocations: 160.2 kB / 1.012 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01185, allocations: 0 / 1.012 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002132/0.01206, allocations: 308.5 kB / 1.013 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.01209, allocations: 37.69 kB / 1.013 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.0121, allocations: 0 / 1.013 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01211, allocations: 3.938 kB / 1.013 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.01217, allocations: 12.06 kB / 1.013 GB, free: 492 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01218, allocations: 7.984 kB / 1.013 GB, free: 484 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.01225, allocations: 8 kB / 1.013 GB, free: 476 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.01226, allocations: 4 kB / 1.013 GB, free: 472 kB / 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: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0002092/0.01247, allocations: 341.6 kB / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.01251, allocations: 63.58 kB / 1.013 GB, free: 52 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.01282, allocations: 334.5 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01282, allocations: 3.938 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01283, allocations: 4 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01283, allocations: 0 / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.01305, allocations: 313.1 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01305, allocations: 0 / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.01308, allocations: 8 kB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01308, allocations: 0 / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.01309, allocations: 11.94 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01309, allocations: 0 / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01309, allocations: 3.938 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01333, allocations: 348 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.0134, allocations: 67.5 kB / 1.014 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.01343, allocations: 0 / 1.014 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.959e-05/0.01349, allocations: 8 kB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.01353, allocations: 19.86 kB / 1.014 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01354, allocations: 4 kB / 1.014 GB, free: 14.87 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0004048/0.01394, allocations: 0.5653 MB / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01394, allocations: 0 / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002418/0.01418, allocations: 123.8 kB / 1.015 GB, free: 14.19 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0002584/0.01444, allocations: 199.1 kB / 1.015 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.01467, allocations: 250.8 kB / 1.015 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01467, allocations: 0 / 1.015 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.01476, allocations: 149.1 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.01509, allocations: 130.1 kB / 1.016 GB, free: 13.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009891/0.01608, allocations: 1.154 MB / 1.017 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.01632, allocations: 378.5 kB / 1.017 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.01635, allocations: 16.5 kB / 1.017 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of SimCode: time 7.81e-07/0.01635, allocations: 0 / 1.017 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of Templates: time 0.006247/0.02259, allocations: 6.896 MB / 1.024 GB, free: 4.961 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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: 7.256680643185973]