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.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.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.001314/0.001314, allocations: 92.16 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.001562/0.001562, allocations: 182.5 kB / 16.92 MB, free: 6.922 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.607/1.607, allocations: 223.3 MB / 241 MB, free: 5.359 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.957/2.957, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004453, allocations: 8.281 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.069, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004251/1.074, allocations: 2.746 MB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002785/1.076, allocations: 1.048 MB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/1.077, allocations: 15.88 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/1.078, allocations: 71.44 kB / 1.028 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005817/1.078, allocations: 87.3 kB / 1.028 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/1.079, allocations: 310.9 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001063/1.081, allocations: 0.5855 MB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004879/1.081, allocations: 241.9 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003313/1.081, allocations: 158.9 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/1.082, allocations: 150.9 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/1.082, allocations: 15.94 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.589e-05/1.082, allocations: 8 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.18e-05/1.082, allocations: 59.64 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/1.082, allocations: 216.3 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/1.082, allocations: 0.5122 MB / 1.03 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.082, allocations: 3.938 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.715e-06/1.082, allocations: 4 kB / 1.03 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.083, allocations: 4 kB / 1.03 GB, free: 9.648 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.001251/1.084, allocations: 0.7399 MB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.084, allocations: 8.031 kB / 1.031 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/1.084, allocations: 60.19 kB / 1.031 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/1.085, allocations: 0.4983 MB / 1.031 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/1.085, allocations: 25.03 kB / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.718e-05/1.085, allocations: 28.38 kB / 1.031 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/1.086, allocations: 390.9 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.086, allocations: 0 / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.086, allocations: 12 kB / 1.031 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/1.086, allocations: 11.94 kB / 1.031 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/1.086, allocations: 266 kB / 1.032 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/1.088, allocations: 1.44 MB / 1.033 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/1.089, allocations: 280.4 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/1.089, allocations: 136.8 kB / 1.034 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.089, allocations: 8 kB / 1.034 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.089, allocations: 38.56 kB / 1.034 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/1.089, allocations: 0 / 1.034 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.000919/1.09, allocations: 381.4 kB / 1.034 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.09, allocations: 55.41 kB / 1.034 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/1.09, allocations: 409.9 kB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/1.09, allocations: 33.7 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/1.091, allocations: 260 kB / 1.035 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/1.091, allocations: 82.81 kB / 1.035 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/1.091, allocations: 33.7 kB / 1.035 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.091, allocations: 354.8 kB / 1.035 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.091, allocations: 96.52 kB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/1.091, allocations: 176.7 kB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/1.092, allocations: 277.1 kB / 1.036 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.092, allocations: 7.938 kB / 1.036 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006751/1.093, allocations: 348.8 kB / 1.036 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.093, allocations: 4 kB / 1.036 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.093, allocations: 4 kB / 1.036 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.093, allocations: 4 kB / 1.036 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/1.093, allocations: 72.14 kB / 1.036 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.093, allocations: 7.938 kB / 1.036 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/1.093, allocations: 39.61 kB / 1.036 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/1.093, allocations: 15.98 kB / 1.036 GB, free: 2.797 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.0002129/1.094, allocations: 170.3 kB / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/1.094, allocations: 51.44 kB / 1.036 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.742e-05/1.094, allocations: 43.98 kB / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.094, allocations: 0 / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.094, allocations: 0 / 1.036 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.094, allocations: 7.922 kB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/1.094, allocations: 429.2 kB / 1.037 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.094, allocations: 3.938 kB / 1.037 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.095, allocations: 55.89 kB / 1.037 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.095, allocations: 4 kB / 1.037 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/1.095, allocations: 8 kB / 1.037 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.095, allocations: 0 / 1.037 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.095, allocations: 0 / 1.037 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/1.096, allocations: 0.5281 MB / 1.037 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.096, allocations: 136.6 kB / 1.038 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/1.096, allocations: 4 kB / 1.038 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/1.096, allocations: 20.05 kB / 1.038 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/1.096, allocations: 19.92 kB / 1.038 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.096, allocations: 11.98 kB / 1.038 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002995/1.096, allocations: 287.1 kB / 1.038 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.096, allocations: 0 / 1.038 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003111/1.097, allocations: 67.75 kB / 1.038 GB, free: 0.8867 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.0001542/1.097, allocations: 113.1 kB / 1.038 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005961/1.097, allocations: 244.3 kB / 1.038 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.097, allocations: 4 kB / 1.038 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/1.098, allocations: 125.3 kB / 1.038 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/1.098, allocations: 122.5 kB / 1.039 GB, free: 292 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/1.1, allocations: 0.9462 MB / 1.039 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/1.1, allocations: 0.8236 MB / 1.04 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/1.1, allocations: 35.42 kB / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/1.1, allocations: 0 / 1.04 GB, free: 14.42 MB / 0.795 GB Notification: Performance of Templates: time 0.008111/1.109, allocations: 5.233 MB / 1.045 GB, free: 9.219 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/jenkins1/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