Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 105.1 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 199.1 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437.1 MB / 0.7107 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003617, allocations: 68.8 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3795, allocations: 151.6 MB / 1.018 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003969/0.3835, allocations: 2.098 MB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003803/0.3873, allocations: 2.574 MB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3875, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.3889, allocations: 0.506 MB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3891, allocations: 63.66 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.39, allocations: 247.6 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.3905, allocations: 355.7 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.3907, allocations: 93.06 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3909, allocations: 107.5 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.3911, allocations: 151.2 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.3911, allocations: 11.94 kB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.3917, allocations: 311.5 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3918, allocations: 103.5 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.3921, allocations: 218.5 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.3928, allocations: 0.6392 MB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3928, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3928, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3928, allocations: 0 / 1.025 GB, free: 3.512 MB / 0.795 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.001232/0.3941, allocations: 0.872 MB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3941, allocations: 12.03 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.3942, allocations: 60.19 kB / 1.026 GB, free: 2.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.3947, allocations: 396.2 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3948, allocations: 8.375 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3948, allocations: 4.375 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3951, allocations: 134.7 kB / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3951, allocations: 0 / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3951, allocations: 0 / 1.026 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3951, allocations: 4 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3953, allocations: 99.94 kB / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.3961, allocations: 0.5431 MB / 1.027 GB, free: 1.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.3963, allocations: 106.5 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3965, allocations: 65.16 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.3965, allocations: 11.94 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.3968, allocations: 129.1 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.3968, allocations: 4 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.000534/0.3973, allocations: 318.4 kB / 1.027 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.3974, allocations: 77.11 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3984, allocations: 0.7935 MB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3984, allocations: 25.7 kB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.3987, allocations: 300.2 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.3988, allocations: 19.66 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.3988, allocations: 29.7 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.399, allocations: 310 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.3991, allocations: 47.97 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.3992, allocations: 47.97 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.3994, allocations: 152.6 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3994, allocations: 4 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003598/0.3998, allocations: 274.4 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.3998, allocations: 37.69 kB / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3999, allocations: 0 / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3999, allocations: 0 / 1.029 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.4, allocations: 11.94 kB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4, allocations: 0 / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4001, allocations: 19.83 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.872e-05/0.4001, allocations: 4 kB / 1.03 GB, free: 14.37 MB / 0.8106 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.000364/0.4005, allocations: 335.4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.4006, allocations: 75.09 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.4011, allocations: 293 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4011, allocations: 3.938 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4011, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4011, allocations: 128 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.4016, allocations: 389.4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4016, allocations: 7.984 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.4016, allocations: 7.984 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4016, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4016, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4017, allocations: 4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4017, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.4021, allocations: 313.8 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4023, allocations: 144.2 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.4024, allocations: 8 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4025, allocations: 7.984 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.4026, allocations: 0 / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4026, allocations: 11.98 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007697/0.4034, allocations: 0.5927 MB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4034, allocations: 3.938 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004732/0.4039, allocations: 120 kB / 1.032 GB, free: 11.96 MB / 0.8106 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.0004447/0.4043, allocations: 197.5 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4047, allocations: 211.3 kB / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4047, allocations: 0 / 1.032 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.4049, allocations: 143.4 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.4055, allocations: 135.4 kB / 1.032 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4074, allocations: 1.239 MB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.4081, allocations: 0.9743 MB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.4082, allocations: 19.44 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.4082, allocations: 0 / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of Templates: time 0.01168/0.4199, allocations: 6.743 MB / 1.041 GB, free: 2.289 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches