Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 108.8 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.629/2.629, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_11_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_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.91 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8358, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005202/0.8411, allocations: 3.139 MB / 1.272 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.8434, allocations: 1.089 MB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.8438, allocations: 19.88 kB / 1.273 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.8441, allocations: 95.11 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.8444, allocations: 107 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007456/0.8451, allocations: 342.2 kB / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006791/0.8458, allocations: 0.6402 MB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.8461, allocations: 154 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.8464, allocations: 231 kB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.8466, allocations: 210.8 kB / 1.275 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.8467, allocations: 60 kB / 1.275 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-05/0.8468, allocations: 52 kB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.8469, allocations: 111.6 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.8471, allocations: 234.6 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.8478, allocations: 0.6962 MB / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8478, allocations: 0 / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8478, allocations: 0 / 1.276 GB, free: 14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.8478, allocations: 0 / 1.276 GB, free: 14 MB / 0.9825 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.001291/0.8491, allocations: 0.8367 MB / 1.277 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.8491, allocations: 12.02 kB / 1.277 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.823e-05/0.8492, allocations: 62.73 kB / 1.277 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.8493, allocations: 64.52 kB / 1.277 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008964/0.8502, allocations: 0.5143 MB / 1.277 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.8502, allocations: 25.03 kB / 1.277 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.299e-05/0.8503, allocations: 28.38 kB / 1.277 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.8509, allocations: 374.9 kB / 1.278 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.8509, allocations: 4 kB / 1.278 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.8509, allocations: 12 kB / 1.278 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.851, allocations: 8 kB / 1.278 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.8516, allocations: 254 kB / 1.278 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.8532, allocations: 1.429 MB / 1.279 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000674/0.8539, allocations: 250.9 kB / 1.279 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.8542, allocations: 126 kB / 1.28 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.8542, allocations: 0 / 1.28 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.8542, allocations: 46.56 kB / 1.28 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.042e-06/0.8542, allocations: 0 / 1.28 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008772/0.8551, allocations: 367.9 kB / 1.28 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.8552, allocations: 59.34 kB / 1.28 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/0.8556, allocations: 417.8 kB / 1.28 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.8556, allocations: 33.7 kB / 1.28 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.8558, allocations: 256.5 kB / 1.281 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.8559, allocations: 95.25 kB / 1.281 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.856, allocations: 53.92 kB / 1.281 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.8562, allocations: 354.8 kB / 1.281 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.8564, allocations: 96.5 kB / 1.281 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.8567, allocations: 164.7 kB / 1.281 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.8573, allocations: 278 kB / 1.282 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8573, allocations: 0 / 1.282 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006522/0.8579, allocations: 341.7 kB / 1.282 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8579, allocations: 10.03 kB / 1.282 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8579, allocations: 0 / 1.282 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.8579, allocations: 4 kB / 1.282 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.8582, allocations: 68.14 kB / 1.282 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8582, allocations: 0 / 1.282 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.8584, allocations: 35.77 kB / 1.282 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.8584, allocations: 12 kB / 1.282 GB, free: 7.059 MB / 0.9825 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.0001796/0.8586, allocations: 178.2 kB / 1.282 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.8587, allocations: 47.72 kB / 1.282 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.8588, allocations: 47.97 kB / 1.282 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8588, allocations: 4 kB / 1.282 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8588, allocations: 0 / 1.282 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8588, allocations: 3.938 kB / 1.282 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.8593, allocations: 433.2 kB / 1.283 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8593, allocations: 0 / 1.283 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.8595, allocations: 47.97 kB / 1.283 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8595, allocations: 0 / 1.283 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.8596, allocations: 8 kB / 1.283 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.8596, allocations: 3.984 kB / 1.283 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8596, allocations: 0 / 1.283 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009042/0.8605, allocations: 0.4967 MB / 1.283 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.8606, allocations: 148.8 kB / 1.284 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.8607, allocations: 8.062 kB / 1.284 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.8609, allocations: 11.98 kB / 1.284 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.8609, allocations: 23.84 kB / 1.284 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.8609, allocations: 4 kB / 1.284 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003156/0.8612, allocations: 291.1 kB / 1.284 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8612, allocations: 4 kB / 1.284 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003149/0.8616, allocations: 71.78 kB / 1.284 GB, free: 5.156 MB / 0.9825 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.0012/0.8628, allocations: 1.043 MB / 1.285 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005633/0.8633, allocations: 231.7 kB / 1.285 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8633, allocations: 4 kB / 1.285 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.8636, allocations: 108.4 kB / 1.285 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.8642, allocations: 127.1 kB / 1.285 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.8691, allocations: 3.515 MB / 1.289 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.8695, allocations: 0.8194 MB / 1.29 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000191/0.8697, allocations: 55.23 kB / 1.29 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.8699, allocations: 155.3 kB / 1.29 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.8699, allocations: 4 kB / 1.29 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.9054, allocations: 8.054 MB / 1.298 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.93, allocations: 9.719 kB / 1.298 GB, free: 7.082 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.747749091126025]