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.001433/0.001433, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001524/0.001524, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 56.16 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00439/0.3072, allocations: 3.118 MB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3091, allocations: 1.099 MB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002489/0.3093, allocations: 19.88 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.3096, allocations: 87.12 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.3099, allocations: 103 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.3105, allocations: 341.3 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.3111, allocations: 0.6441 MB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003567/0.3115, allocations: 253.8 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.3117, allocations: 215.1 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.312, allocations: 214.8 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.312, allocations: 56 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.3121, allocations: 52 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.3122, allocations: 111.6 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.3124, allocations: 242.6 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.3129, allocations: 0.6773 MB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3129, allocations: 0 / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.313, allocations: 3.938 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.313, allocations: 0 / 1.034 GB, free: 10.8 MB / 0.8106 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.001213/0.3142, allocations: 0.8176 MB / 1.035 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3142, allocations: 15.97 kB / 1.035 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.339e-05/0.3143, allocations: 52.28 kB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/0.3151, allocations: 0.5138 MB / 1.035 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3152, allocations: 25.03 kB / 1.035 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.316e-05/0.3152, allocations: 28.38 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.3159, allocations: 375.1 kB / 1.036 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3159, allocations: 0 / 1.036 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.316, allocations: 12 kB / 1.036 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.316, allocations: 8 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006089/0.3166, allocations: 254 kB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.3183, allocations: 1.425 MB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.319, allocations: 270 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.3193, allocations: 144.8 kB / 1.038 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.3194, allocations: 7.969 kB / 1.038 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.3194, allocations: 34.56 kB / 1.038 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.3194, allocations: 0 / 1.038 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0008635/0.3203, allocations: 354.6 kB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3203, allocations: 59.39 kB / 1.038 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.3208, allocations: 413.8 kB / 1.038 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.3208, allocations: 29.7 kB / 1.038 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.321, allocations: 260.1 kB / 1.039 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.321, allocations: 78.84 kB / 1.039 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.3211, allocations: 57.89 kB / 1.039 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3213, allocations: 366.7 kB / 1.039 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.3215, allocations: 96.5 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.3218, allocations: 161.3 kB / 1.039 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.3224, allocations: 265.5 kB / 1.04 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3224, allocations: 4 kB / 1.04 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006468/0.323, allocations: 343.8 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.323, allocations: 4 kB / 1.04 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3231, allocations: 4 kB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3231, allocations: 4 kB / 1.04 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.3234, allocations: 63.89 kB / 1.04 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3234, allocations: 4.25 kB / 1.04 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3236, allocations: 35.77 kB / 1.04 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3236, allocations: 11.94 kB / 1.04 GB, free: 3.949 MB / 0.8106 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.0001852/0.3238, allocations: 173.7 kB / 1.04 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.3239, allocations: 43.44 kB / 1.04 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.324, allocations: 47.97 kB / 1.04 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.324, allocations: 4 kB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.324, allocations: 0 / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.324, allocations: 7.938 kB / 1.04 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.3245, allocations: 445.1 kB / 1.041 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3245, allocations: 0 / 1.041 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3248, allocations: 43.97 kB / 1.041 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3248, allocations: 0 / 1.041 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3248, allocations: 8 kB / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3248, allocations: 0 / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3248, allocations: 0 / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.3257, allocations: 0.5047 MB / 1.041 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3258, allocations: 140.5 kB / 1.042 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.3259, allocations: 8 kB / 1.042 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3261, allocations: 11.98 kB / 1.042 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.3262, allocations: 20.03 kB / 1.042 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3262, allocations: 15.94 kB / 1.042 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003046/0.3265, allocations: 291.1 kB / 1.042 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3265, allocations: 0 / 1.042 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000333/0.3268, allocations: 67.84 kB / 1.042 GB, free: 2.055 MB / 0.8106 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.0001392/0.327, allocations: 103.2 kB / 1.042 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.3276, allocations: 243.8 kB / 1.042 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3276, allocations: 0 / 1.042 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.3278, allocations: 115.9 kB / 1.042 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.3285, allocations: 129.8 kB / 1.042 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3298, allocations: 0.7183 MB / 1.043 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3302, allocations: 0.8194 MB / 1.044 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.3304, allocations: 59.23 kB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.3305, allocations: 31.42 kB / 1.044 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of SimCode: time 2.003e-06/0.3305, allocations: 0 / 1.044 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of Templates: time 0.008539/0.339, allocations: 3.805 MB / 1.048 GB, free: 12.07 MB / 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 -s gbode -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