Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108 kB / 15.6 MB, free: 132 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.001197/0.001198, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.725/2.725, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 55.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.6841, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00453/0.6886, allocations: 3.115 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.6906, allocations: 1.099 MB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.6909, allocations: 15.94 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.6912, allocations: 91.06 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.6915, allocations: 111 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.6922, allocations: 328.5 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.6928, allocations: 0.6324 MB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.6931, allocations: 245.9 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.6934, allocations: 223 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.6936, allocations: 206.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.629e-05/0.6937, allocations: 52 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.938e-05/0.6938, allocations: 52 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.951e-05/0.6939, allocations: 111.6 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.6941, allocations: 242.6 kB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.6947, allocations: 0.6676 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6947, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6947, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.6947, allocations: 3.938 kB / 1.024 GB, free: 11.34 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001238/0.6959, allocations: 0.8137 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.696, allocations: 16.03 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.6961, allocations: 56.28 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.6969, allocations: 0.4983 MB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.6969, allocations: 24.97 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.697, allocations: 36.36 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.6976, allocations: 371.1 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6976, allocations: 0 / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.6977, allocations: 16 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6977, allocations: 8 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.6983, allocations: 254 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.6999, allocations: 1.432 MB / 1.028 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/0.7006, allocations: 268.6 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.7009, allocations: 138.8 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.701, allocations: 4 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.701, allocations: 38.56 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.701, allocations: 0 / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008975/0.7019, allocations: 356.8 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.7019, allocations: 63.34 kB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.7024, allocations: 417.9 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.7024, allocations: 33.7 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.7026, allocations: 256.1 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.7027, allocations: 74.91 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.7028, allocations: 57.88 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7029, allocations: 358.7 kB / 1.03 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.7032, allocations: 100.5 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.7035, allocations: 168.7 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.704, allocations: 274.5 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.704, allocations: 0 / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006638/0.7047, allocations: 340.4 kB / 1.031 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.7047, allocations: 8 kB / 1.031 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7047, allocations: 0 / 1.031 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.7048, allocations: 4 kB / 1.031 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.7051, allocations: 67.89 kB / 1.031 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7051, allocations: 0 / 1.031 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.7053, allocations: 39.61 kB / 1.031 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.7053, allocations: 20.19 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.0001829/0.7055, allocations: 173.8 kB / 1.031 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.7056, allocations: 47.44 kB / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.13e-05/0.7057, allocations: 43.98 kB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.7057, allocations: 0 / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7057, allocations: 0 / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.7057, allocations: 11.91 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.7062, allocations: 429.2 kB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7062, allocations: 0 / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.7065, allocations: 55.91 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.7065, allocations: 0 / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.7065, allocations: 11.98 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7065, allocations: 0 / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7065, allocations: 0 / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.7075, allocations: 0.4962 MB / 1.032 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.7076, allocations: 144.6 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.7077, allocations: 4 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.7079, allocations: 11.98 kB / 1.032 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.7079, allocations: 19.86 kB / 1.032 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.708, allocations: 7.938 kB / 1.032 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002997/0.7083, allocations: 295.2 kB / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7083, allocations: 0 / 1.032 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003217/0.7086, allocations: 67.75 kB / 1.032 GB, free: 2.598 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001195/0.7087, allocations: 107.2 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006284/0.7094, allocations: 248.8 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7094, allocations: 0 / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.7097, allocations: 121.9 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.7104, allocations: 125.7 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.7117, allocations: 0.7506 MB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.7121, allocations: 0.8155 MB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.7123, allocations: 51.23 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.7124, allocations: 35.42 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7124, allocations: 4 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of Templates: time 0.008092/0.7205, allocations: 3.789 MB / 1.038 GB, free: 12.58 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches