Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001437/0.001437, allocations: 92.39 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.00204/0.00204, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 9.078 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3714, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003862/0.3753, allocations: 2.756 MB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002055/0.3774, allocations: 1.06 MB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.3777, allocations: 19.88 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.3779, allocations: 63.44 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.3782, allocations: 91.36 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.3789, allocations: 304.8 kB / 1.064 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.3794, allocations: 0.5739 MB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.3798, allocations: 241.9 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.38, allocations: 162.9 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.3802, allocations: 150.9 kB / 1.065 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.3803, allocations: 12 kB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.3803, allocations: 16 kB / 1.065 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.3804, allocations: 67.5 kB / 1.065 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.3806, allocations: 204.4 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.381, allocations: 0.5222 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.381, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.615e-06/0.381, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.381, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 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.001122/0.3822, allocations: 0.7438 MB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.3822, allocations: 15.97 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.3823, allocations: 60.12 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.3831, allocations: 0.4983 MB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3831, allocations: 21.03 kB / 1.067 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-05/0.3832, allocations: 32.36 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.3838, allocations: 379.1 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3839, allocations: 8 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.3839, allocations: 8 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3839, allocations: 8 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.3845, allocations: 274 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3861, allocations: 1.432 MB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.3868, allocations: 278.8 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.3871, allocations: 148.2 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.3872, allocations: 4 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.3872, allocations: 38.56 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.3872, allocations: 0 / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008988/0.3881, allocations: 378.3 kB / 1.07 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.3881, allocations: 51.41 kB / 1.07 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.3886, allocations: 421.9 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3886, allocations: 25.7 kB / 1.07 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.3889, allocations: 264.1 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.3889, allocations: 82.73 kB / 1.07 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.389, allocations: 33.7 kB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3891, allocations: 354.7 kB / 1.071 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.3894, allocations: 104.5 kB / 1.071 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.3897, allocations: 168.8 kB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.3902, allocations: 273.5 kB / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3902, allocations: 0 / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006571/0.3909, allocations: 357.5 kB / 1.072 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3909, allocations: 4 kB / 1.072 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3909, allocations: 4 kB / 1.072 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3909, allocations: 4 kB / 1.072 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.3912, allocations: 67.89 kB / 1.072 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3912, allocations: 4 kB / 1.072 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.3914, allocations: 39.92 kB / 1.072 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3914, allocations: 11.98 kB / 1.072 GB, free: 7.863 MB / 0.8262 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.000181/0.3916, allocations: 178.5 kB / 1.072 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.3917, allocations: 47.38 kB / 1.072 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.554e-05/0.3918, allocations: 43.98 kB / 1.072 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3918, allocations: 4 kB / 1.072 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3918, allocations: 0 / 1.072 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3918, allocations: 7.922 kB / 1.072 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.3923, allocations: 437.2 kB / 1.072 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3923, allocations: 0 / 1.072 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.3925, allocations: 51.94 kB / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3926, allocations: 0 / 1.072 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3926, allocations: 8 kB / 1.073 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3926, allocations: 0 / 1.073 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3926, allocations: 0 / 1.073 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/0.3935, allocations: 0.5247 MB / 1.073 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3936, allocations: 144.5 kB / 1.073 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.3937, allocations: 4 kB / 1.073 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3939, allocations: 15.98 kB / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.3939, allocations: 11.98 kB / 1.073 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.394, allocations: 11.92 kB / 1.073 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002895/0.3943, allocations: 287.2 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3943, allocations: 4.062 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003196/0.3946, allocations: 67.84 kB / 1.074 GB, free: 5.953 MB / 0.8262 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.000127/0.3947, allocations: 103.2 kB / 1.074 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005827/0.3953, allocations: 255.4 kB / 1.074 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3953, allocations: 4 kB / 1.074 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3956, allocations: 124.2 kB / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.3963, allocations: 124.2 kB / 1.074 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3977, allocations: 0.9447 MB / 1.075 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.398, allocations: 0.8235 MB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3982, allocations: 35.42 kB / 1.076 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.3982, allocations: 0 / 1.076 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.007746/0.4059, allocations: 5.247 MB / 1.081 GB, free: 14.29 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches