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: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001543, allocations: 108 kB / 15.61 MB, free: 152 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.001458/0.001458, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.595/2.595, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 61.5 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3074, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004553/0.312, allocations: 3.108 MB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.3138, allocations: 1.107 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.3141, allocations: 15.94 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.3143, allocations: 91.06 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.3146, allocations: 107 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.3152, allocations: 340.4 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.3158, allocations: 0.6364 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.3162, allocations: 250.2 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.3164, allocations: 223 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.3167, allocations: 210.8 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.3168, allocations: 52 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.416e-05/0.3168, allocations: 52 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.924e-05/0.3169, allocations: 107.6 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3171, allocations: 246.6 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005634/0.3177, allocations: 0.6579 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3177, allocations: 4 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3177, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3177, allocations: 0 / 1.071 GB, free: 7.328 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.001242/0.319, allocations: 0.8137 MB / 1.071 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.319, allocations: 8.031 kB / 1.071 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.412e-05/0.3191, allocations: 70.66 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.495e-05/0.3192, allocations: 56.28 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.32, allocations: 0.5099 MB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.32, allocations: 21.03 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3201, allocations: 32.38 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.3207, allocations: 371 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3207, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.3207, allocations: 16 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3208, allocations: 8 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.3213, allocations: 254 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3229, allocations: 1.429 MB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.3236, allocations: 270.8 kB / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.3239, allocations: 136.8 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3239, allocations: 4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.324, allocations: 38.5 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.324, allocations: 0 / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008633/0.3248, allocations: 359.3 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3249, allocations: 59.41 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.3253, allocations: 413.9 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3254, allocations: 37.64 kB / 1.075 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3256, allocations: 264 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/0.3256, allocations: 86.75 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.3257, allocations: 49.98 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3259, allocations: 354.8 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.3261, allocations: 92.52 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.3264, allocations: 168.7 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.3269, allocations: 270.2 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.327, allocations: 4 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006388/0.3276, allocations: 334.1 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3276, allocations: 8.938 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3276, allocations: 256 / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3277, allocations: 8 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.3279, allocations: 63.89 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.328, allocations: 0 / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3281, allocations: 31.77 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3282, allocations: 19.98 kB / 1.077 GB, free: 428 kB / 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.0001758/0.3284, allocations: 174.3 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.3284, allocations: 43.44 kB / 1.077 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.3285, allocations: 47.98 kB / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3286, allocations: 0 / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3286, allocations: 0 / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3286, allocations: 11.92 kB / 1.077 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.3291, allocations: 433.1 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3291, allocations: 4 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3293, allocations: 51.89 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3294, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3294, allocations: 8 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3294, allocations: 7.938 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3294, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.3303, allocations: 0.4973 MB / 1.078 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3304, allocations: 148.5 kB / 1.078 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.3305, allocations: 4 kB / 1.078 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3307, allocations: 11.98 kB / 1.078 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.3307, allocations: 15.92 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3308, allocations: 7.984 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002919/0.3311, allocations: 291.2 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3311, allocations: 3.938 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003131/0.3314, allocations: 67.78 kB / 1.079 GB, free: 14.52 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.00115/0.3325, allocations: 1.044 MB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006105/0.3332, allocations: 254.4 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3332, allocations: 0 / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.3334, allocations: 128.3 kB / 1.08 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/0.3342, allocations: 127.2 kB / 1.08 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.3388, allocations: 3.547 MB / 1.084 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.3392, allocations: 0.8194 MB / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.3394, allocations: 47.25 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.3396, allocations: 151.4 kB / 1.085 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3396, allocations: 4 kB / 1.085 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.3657, allocations: 7.895 MB / 1.093 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.498, allocations: 8.156 kB / 1.093 GB, free: 0.5625 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > 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.csv","/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