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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001469/0.001469, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001728/0.001728, allocations: 197.2 kB / 16.25 MB, free: 6.625 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.664/1.664, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 60.62 kB / 0.9116 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.468, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005633/0.4737, allocations: 3.14 MB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.4765, allocations: 1.083 MB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.4772, allocations: 15.94 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.4775, allocations: 67.38 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.4778, allocations: 83.36 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.4786, allocations: 311 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.4793, allocations: 0.6403 MB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.4797, allocations: 241.9 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.48, allocations: 222.9 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.4802, allocations: 210.8 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.044e-05/0.4803, allocations: 56 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.531e-05/0.4804, allocations: 52 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.4805, allocations: 115.5 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4807, allocations: 234.7 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.4813, allocations: 0.6621 MB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.4813, allocations: 0 / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4813, allocations: 7.938 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4813, allocations: 0 / 1.075 GB, free: 3.621 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.00137/0.4827, allocations: 0.8137 MB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.4828, allocations: 8.031 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4829, allocations: 60.19 kB / 1.076 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.4836, allocations: 0.5022 MB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.4837, allocations: 21.03 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.4837, allocations: 28.38 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.4844, allocations: 375.1 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4844, allocations: 3.984 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.4845, allocations: 12 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4845, allocations: 12 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.485, allocations: 250 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.4866, allocations: 1.436 MB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.4873, allocations: 266.8 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.4876, allocations: 140.8 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.4876, allocations: 7.984 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4877, allocations: 30.56 kB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.4877, allocations: 0 / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0008595/0.4885, allocations: 363.7 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.4886, allocations: 55.39 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.489, allocations: 410 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.489, allocations: 29.7 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.4892, allocations: 267.9 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.4893, allocations: 82.75 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.4894, allocations: 53.98 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4896, allocations: 366.7 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.4898, allocations: 92.5 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.4901, allocations: 164.7 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.4906, allocations: 270.2 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4906, allocations: 0 / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005976/0.4912, allocations: 340.8 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4912, allocations: 9.25 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4912, allocations: 0 / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4912, allocations: 4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4915, allocations: 67.89 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4915, allocations: 4.25 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.4917, allocations: 35.77 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.4917, allocations: 8 kB / 1.081 GB, free: 12.79 MB / 0.8419 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.0001841/0.4919, allocations: 169.8 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.492, allocations: 43.44 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.464e-05/0.4921, allocations: 51.97 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4921, allocations: 4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4921, allocations: 0 / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4921, allocations: 7.938 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.4926, allocations: 437.1 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4926, allocations: 0 / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.4929, allocations: 39.97 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4929, allocations: 4 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4929, allocations: 7.938 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4929, allocations: 0 / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4929, allocations: 11.97 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008574/0.4938, allocations: 0.5032 MB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4939, allocations: 140.5 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.494, allocations: 4 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.4942, allocations: 20.05 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.4942, allocations: 19.97 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4943, allocations: 7.938 kB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002932/0.4946, allocations: 287.1 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.4946, allocations: 0 / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002962/0.4949, allocations: 71.69 kB / 1.083 GB, free: 10.89 MB / 0.8419 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.0001238/0.495, allocations: 107.2 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006127/0.4956, allocations: 259.2 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4956, allocations: 0 / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.4959, allocations: 118.3 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.4966, allocations: 129.6 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.498, allocations: 0.8958 MB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.4984, allocations: 0.8194 MB / 1.085 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.4986, allocations: 51.25 kB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.51e-05/0.4987, allocations: 31.44 kB / 1.085 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4987, allocations: 0 / 1.085 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.009367/0.5081, allocations: 3.728 MB / 1.089 GB, free: 4.801 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/jenkins/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