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.001045/0.001045, allocations: 91.61 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 183.8 kB / 16.92 MB, free: 6.926 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.336 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.546/2.546, allocations: 437.8 MB / 0.7128 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003947, allocations: 8 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7743, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003097/0.7774, allocations: 2.259 MB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.7793, allocations: 0.9044 MB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.7796, allocations: 8 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.7798, allocations: 43.52 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.7799, allocations: 39.72 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.7807, allocations: 291.5 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.7812, allocations: 0.5399 MB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.7817, allocations: 283.7 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.7819, allocations: 139.3 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.7821, allocations: 158.9 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.7821, allocations: 16 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.7822, allocations: 31.97 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.7823, allocations: 63.64 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.7825, allocations: 212.5 kB / 1.029 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.783, allocations: 0.5551 MB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.783, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.285e-06/0.783, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7831, allocations: 0 / 1.029 GB, free: 10.38 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.00118/0.7842, allocations: 0.688 MB / 1.03 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7843, allocations: 15.98 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.7844, allocations: 60.27 kB / 1.03 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.785, allocations: 380.4 kB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.785, allocations: 37.38 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.7851, allocations: 48.38 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.7859, allocations: 430.7 kB / 1.031 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.7859, allocations: 3.938 kB / 1.031 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.7859, allocations: 16 kB / 1.031 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.786, allocations: 15.94 kB / 1.031 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.7866, allocations: 319.9 kB / 1.031 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.7887, allocations: 1.44 MB / 1.032 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.7894, allocations: 258.7 kB / 1.033 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.7896, allocations: 120.8 kB / 1.033 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.7897, allocations: 8.062 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.7901, allocations: 208.1 kB / 1.033 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.7901, allocations: 4 kB / 1.033 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007902/0.7909, allocations: 341 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.791, allocations: 140.5 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.7914, allocations: 413.6 kB / 1.034 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.7915, allocations: 33.7 kB / 1.034 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.7917, allocations: 236 kB / 1.034 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.7918, allocations: 78.91 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.7918, allocations: 45.62 kB / 1.034 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.792, allocations: 346.8 kB / 1.035 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.7923, allocations: 124.3 kB / 1.035 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.7926, allocations: 196.6 kB / 1.035 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.7931, allocations: 291.5 kB / 1.035 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7931, allocations: 0 / 1.035 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007632/0.7939, allocations: 432 kB / 1.036 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.794, allocations: 146.8 kB / 1.036 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.7941, allocations: 11.98 kB / 1.036 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.7941, allocations: 0 / 1.036 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.7944, allocations: 63.91 kB / 1.036 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.7944, allocations: 4 kB / 1.036 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.7948, allocations: 89.59 kB / 1.036 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.7948, allocations: 19.98 kB / 1.036 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/0.7948, allocations: 5.875 kB / 1.036 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006133/0.7955, allocations: 361.5 kB / 1.036 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.7955, allocations: 7.938 kB / 1.036 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/0.7955, allocations: 4.125 kB / 1.036 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.7957, allocations: 55.86 kB / 1.036 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7957, allocations: 4 kB / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.7961, allocations: 83.55 kB / 1.036 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.7961, allocations: 15.98 kB / 1.036 GB, free: 2.523 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,uEna.y,$PRE.uEna.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.7964, allocations: 241.6 kB / 1.037 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.7964, allocations: 39.53 kB / 1.037 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006299/0.797, allocations: 309 kB / 1.037 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.7971, allocations: 4 kB / 1.037 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7971, allocations: 0 / 1.037 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.7971, allocations: 3.984 kB / 1.037 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.7981, allocations: 0.7797 MB / 1.038 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7981, allocations: 3.938 kB / 1.038 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.7984, allocations: 51.97 kB / 1.038 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7984, allocations: 0 / 1.038 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.7984, allocations: 8 kB / 1.038 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7984, allocations: 0 / 1.038 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7984, allocations: 0 / 1.038 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.7992, allocations: 0.5082 MB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.7993, allocations: 124.5 kB / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.7994, allocations: 8 kB / 1.038 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.7996, allocations: 19.98 kB / 1.038 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.7997, allocations: 15.97 kB / 1.038 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.7997, allocations: 8 kB / 1.038 GB, free: 316 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003196/0.8, allocations: 299.2 kB / 1.039 GB, free: 16 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8, allocations: 0 / 1.039 GB, free: 16 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005342/0.8006, allocations: 155.5 kB / 1.039 GB, free: 15.86 MB / 0.795 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 (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.0001918/0.8008, allocations: 119.1 kB / 1.039 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009949/0.8018, allocations: 0.5778 MB / 1.04 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8018, allocations: 0 / 1.04 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.802, allocations: 127.8 kB / 1.04 GB, free: 15.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.8026, allocations: 66.66 kB / 1.04 GB, free: 14.95 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.8038, allocations: 0.8426 MB / 1.041 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.8042, allocations: 0.8078 MB / 1.041 GB, free: 13.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.8043, allocations: 39.42 kB / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.8043, allocations: 0 / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of Templates: time 0.007735/0.8121, allocations: 4.969 MB / 1.046 GB, free: 8.258 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/jenkins1/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