Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001882/0.001883, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.935/2.935, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003999, allocations: 8 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.011, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003148/1.014, allocations: 2.159 MB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00167/1.016, allocations: 0.8658 MB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/1.016, allocations: 11.94 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/1.016, allocations: 39.58 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/1.017, allocations: 43.66 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/1.017, allocations: 216.9 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/1.018, allocations: 0.5088 MB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/1.018, allocations: 205 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/1.018, allocations: 139.3 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/1.018, allocations: 151.1 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/1.019, allocations: 16 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/1.019, allocations: 31.92 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/1.019, allocations: 63.7 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/1.019, allocations: 97.45 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/1.019, allocations: 0.559 MB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.019, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.305e-06/1.019, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.019, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001199/1.021, allocations: 0.6957 MB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.021, allocations: 12.52 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/1.021, allocations: 59.33 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/1.021, allocations: 379 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/1.021, allocations: 29 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/1.021, allocations: 55.94 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/1.022, allocations: 430.2 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.022, allocations: 0 / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/1.022, allocations: 16 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/1.022, allocations: 8 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006021/1.023, allocations: 323.8 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/1.025, allocations: 1.44 MB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/1.026, allocations: 264.8 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/1.026, allocations: 120.8 kB / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/1.026, allocations: 0 / 1.031 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/1.026, allocations: 208.3 kB / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/1.026, allocations: 0 / 1.031 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007394/1.027, allocations: 345 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/1.027, allocations: 140.4 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004638/1.028, allocations: 409.6 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/1.028, allocations: 33.7 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.028, allocations: 228.1 kB / 1.032 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/1.028, allocations: 86.75 kB / 1.032 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/1.028, allocations: 4 kB / 1.032 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.028, allocations: 350.8 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/1.028, allocations: 128.3 kB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/1.029, allocations: 192.6 kB / 1.033 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/1.029, allocations: 166.8 kB / 1.033 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.029, allocations: 0 / 1.033 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007313/1.03, allocations: 424 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.03, allocations: 146.7 kB / 1.034 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.03, allocations: 3.953 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.03, allocations: 7.938 kB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/1.03, allocations: 63.92 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/1.03, allocations: 7.938 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/1.031, allocations: 91.48 kB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/1.031, allocations: 8 kB / 1.034 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/1.031, allocations: 4 kB / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006001/1.031, allocations: 361.8 kB / 1.034 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.031, allocations: 4 kB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/1.031, allocations: 7.922 kB / 1.034 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/1.032, allocations: 56.05 kB / 1.034 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.032, allocations: 8 kB / 1.034 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/1.032, allocations: 75.55 kB / 1.034 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/1.032, allocations: 19.98 kB / 1.034 GB, free: 3.316 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002441/1.032, allocations: 249 kB / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/1.032, allocations: 39.53 kB / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/1.033, allocations: 297.1 kB / 1.035 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.033, allocations: 4 kB / 1.035 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.033, allocations: 4 kB / 1.035 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.033, allocations: 0 / 1.035 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/1.034, allocations: 0.7875 MB / 1.036 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.034, allocations: 0 / 1.036 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/1.034, allocations: 47.91 kB / 1.036 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.034, allocations: 4 kB / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/1.034, allocations: 8 kB / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.034, allocations: 0 / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.034, allocations: 0 / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/1.035, allocations: 0.5004 MB / 1.036 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/1.035, allocations: 128.6 kB / 1.036 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/1.035, allocations: 4 kB / 1.036 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.035, allocations: 19.98 kB / 1.037 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/1.035, allocations: 19.97 kB / 1.037 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/1.035, allocations: 8 kB / 1.037 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003007/1.036, allocations: 287.2 kB / 1.037 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.036, allocations: 4.062 kB / 1.037 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005322/1.036, allocations: 159.4 kB / 1.037 GB, free: 0.668 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/1.036, allocations: 119.2 kB / 1.037 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000978/1.037, allocations: 0.5625 MB / 1.038 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.037, allocations: 8 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/1.038, allocations: 127.8 kB / 1.038 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/1.038, allocations: 71.03 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/1.039, allocations: 0.7705 MB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/1.04, allocations: 0.8079 MB / 1.039 GB, free: 14.13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001828/1.04, allocations: 43.27 kB / 1.039 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/1.04, allocations: 39.42 kB / 1.039 GB, free: 14.05 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/1.04, allocations: 0 / 1.039 GB, free: 14.05 MB / 0.795 GB Notification: Performance of Templates: time 0.008884/1.049, allocations: 4.39 MB / 1.044 GB, free: 9.719 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches