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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00169/0.00169, allocations: 115.1 kB / 16.37 MB, free: 5.984 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.001827/0.001827, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.28 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00362/0.2979, allocations: 2.061 MB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003246/0.3012, allocations: 2.597 MB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3013, allocations: 4 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3024, allocations: 0.5133 MB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.3026, allocations: 67.59 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.3034, allocations: 283.2 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.3038, allocations: 326.3 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3039, allocations: 97.06 kB / 1.033 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.304, allocations: 107.4 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3042, allocations: 135.2 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3043, allocations: 8 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.3047, allocations: 323.5 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3048, allocations: 107.5 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.305, allocations: 214.5 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.3057, allocations: 0.8137 MB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3057, allocations: 0 / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3057, allocations: 4 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.3057, allocations: 0 / 1.034 GB, free: 10.4 MB / 0.8106 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.001019/0.3068, allocations: 0.8759 MB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3068, allocations: 12.03 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.3069, allocations: 60.19 kB / 1.035 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.3073, allocations: 388.2 kB / 1.035 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3074, allocations: 8.375 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3074, allocations: 8.312 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.3076, allocations: 133.2 kB / 1.036 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3076, allocations: 4 kB / 1.036 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3077, allocations: 4 kB / 1.036 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3077, allocations: 3.938 kB / 1.036 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3078, allocations: 103.9 kB / 1.036 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007041/0.3085, allocations: 0.5431 MB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3087, allocations: 106.5 kB / 1.036 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.3088, allocations: 60.98 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.3088, allocations: 16.16 kB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.309, allocations: 133 kB / 1.037 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.309, allocations: 0 / 1.037 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004412/0.3095, allocations: 302.5 kB / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.3096, allocations: 85.11 kB / 1.037 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.3104, allocations: 0.7973 MB / 1.038 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3104, allocations: 29.7 kB / 1.038 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.3106, allocations: 288.2 kB / 1.038 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3107, allocations: 31.62 kB / 1.038 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.3107, allocations: 29.72 kB / 1.038 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3108, allocations: 310 kB / 1.038 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.3109, allocations: 47.97 kB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.311, allocations: 43.98 kB / 1.038 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3112, allocations: 164.6 kB / 1.039 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3112, allocations: 0 / 1.039 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000315/0.3115, allocations: 274.4 kB / 1.039 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.3115, allocations: 33.7 kB / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3116, allocations: 0 / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3116, allocations: 0 / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.3117, allocations: 11.98 kB / 1.039 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3117, allocations: 0 / 1.039 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3118, allocations: 11.84 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3118, allocations: 4 kB / 1.039 GB, free: 5.254 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.0003038/0.3121, allocations: 347.3 kB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.3122, allocations: 71.09 kB / 1.039 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.3127, allocations: 297 kB / 1.04 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3127, allocations: 0 / 1.04 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3127, allocations: 3.938 kB / 1.04 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3127, allocations: 0 / 1.04 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.313, allocations: 377.6 kB / 1.04 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3131, allocations: 3.938 kB / 1.04 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.3131, allocations: 8 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3131, allocations: 0 / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3131, allocations: 19.92 kB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3131, allocations: 0 / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3132, allocations: 0 / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.3135, allocations: 309.9 kB / 1.04 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.3137, allocations: 152.2 kB / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.3138, allocations: 0 / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3139, allocations: 8 kB / 1.04 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.3139, allocations: 11.98 kB / 1.04 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3139, allocations: 4 kB / 1.04 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007154/0.3147, allocations: 0.5848 MB / 1.041 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3147, allocations: 0 / 1.041 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005699/0.3152, allocations: 124 kB / 1.041 GB, free: 2.848 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.0004114/0.3157, allocations: 185.7 kB / 1.041 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.316, allocations: 219.2 kB / 1.042 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.316, allocations: 0 / 1.042 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3161, allocations: 147.4 kB / 1.042 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.3166, allocations: 124.1 kB / 1.042 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3181, allocations: 1.066 MB / 1.043 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.3188, allocations: 0.9743 MB / 1.044 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.697e-05/0.3188, allocations: 33.88 kB / 1.044 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.3189, allocations: 15.44 kB / 1.044 GB, free: 8 kB / 0.8106 GB Notification: Performance of SimCode: time 4.6e-07/0.3189, allocations: 0 / 1.044 GB, free: 8 kB / 0.8106 GB Notification: Performance of Templates: time 0.01123/0.3301, allocations: 5.538 MB / 1.049 GB, free: 10.56 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches