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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.000756/0.0007559, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.006381/0.006381, allocations: 169.2 kB / 16.26 MB, free: 6.66 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.556/1.556, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.165/3.165, allocations: 462.6 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 8.406 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4882, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.017/0.5053, allocations: 2.752 MB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.5085, allocations: 1.067 MB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008847/0.5094, allocations: 15.94 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.5099, allocations: 71.38 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006806/0.5106, allocations: 83.38 kB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.5119, allocations: 311.3 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.5131, allocations: 0.5855 MB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.5137, allocations: 237.9 kB / 1.064 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004885/0.5142, allocations: 158.9 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.5146, allocations: 154.9 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.5147, allocations: 16 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.5148, allocations: 15.94 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.5149, allocations: 59.64 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.5152, allocations: 212.3 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.516, allocations: 0.6111 MB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.516, allocations: 0 / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.695e-06/0.516, allocations: 0 / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.566e-05/0.5161, allocations: 4 kB / 1.065 GB, free: 15.13 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.001691/0.5178, allocations: 0.7372 MB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.5178, allocations: 8.031 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.5181, allocations: 64.17 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.5192, allocations: 0.4982 MB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.5192, allocations: 25.03 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.5193, allocations: 28.38 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.5202, allocations: 391.1 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5202, allocations: 0 / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.5203, allocations: 12 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.5203, allocations: 8 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.521, allocations: 262.1 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.5233, allocations: 1.44 MB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/0.5241, allocations: 266.9 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003612/0.5245, allocations: 150.3 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.81e-05/0.5245, allocations: 4 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5246, allocations: 34.56 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 2.565e-06/0.5246, allocations: 3.938 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001421/0.526, allocations: 379.7 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.5261, allocations: 59.41 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01471/0.5408, allocations: 406 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.5409, allocations: 33.7 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.5412, allocations: 260 kB / 1.07 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5413, allocations: 86.75 kB / 1.07 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.5414, allocations: 29.7 kB / 1.07 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.5417, allocations: 362.7 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.5421, allocations: 100.5 kB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.5425, allocations: 172.7 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.5434, allocations: 274.2 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5434, allocations: 8 kB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001105/0.5445, allocations: 354.1 kB / 1.071 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.5446, allocations: 7.938 kB / 1.071 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.5446, allocations: 7.984 kB / 1.071 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.5446, allocations: 4 kB / 1.071 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.545, allocations: 63.89 kB / 1.071 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.5451, allocations: 4 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.5454, allocations: 36.02 kB / 1.071 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.5455, allocations: 12 kB / 1.071 GB, free: 8.301 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.0003364/0.5458, allocations: 173.8 kB / 1.071 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.546, allocations: 43.44 kB / 1.071 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.5462, allocations: 47.98 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5462, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5462, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.5462, allocations: 11.92 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/0.547, allocations: 433.2 kB / 1.072 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.547, allocations: 0 / 1.072 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.5475, allocations: 55.91 kB / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5475, allocations: 0 / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.5475, allocations: 7.984 kB / 1.072 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5475, allocations: 4 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5475, allocations: 0 / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.549, allocations: 0.5254 MB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.5493, allocations: 140.5 kB / 1.073 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.5493, allocations: 4 kB / 1.073 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.5496, allocations: 19.92 kB / 1.073 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.5497, allocations: 15.98 kB / 1.073 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.5498, allocations: 7.938 kB / 1.073 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005436/0.5503, allocations: 295.2 kB / 1.073 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5503, allocations: 0 / 1.073 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005358/0.5509, allocations: 59.84 kB / 1.073 GB, free: 6.391 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.00018/0.5511, allocations: 107.2 kB / 1.073 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009076/0.552, allocations: 251.7 kB / 1.073 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.552, allocations: 0 / 1.073 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.5525, allocations: 132.3 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.5536, allocations: 120.2 kB / 1.074 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.5562, allocations: 0.9224 MB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.5569, allocations: 0.8158 MB / 1.075 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003769/0.5573, allocations: 51.25 kB / 1.075 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.5574, allocations: 31.44 kB / 1.075 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.5575, allocations: 0 / 1.075 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.01155/0.569, allocations: 3.549 MB / 1.079 GB, free: 464 kB / 0.8262 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