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.001295/0.001295, allocations: 111.7 kB / 17.96 MB, free: 3.918 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.001285/0.001285, allocations: 193.5 kB / 21.22 MB, free: 0.668 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.331/1.331, allocations: 225.6 MB / 249.9 MB, free: 13.39 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.589/2.589, allocations: 476.7 MB / 0.7635 GB, free: 10.9 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.001842/0.001842, allocations: 67.89 kB / 1.108 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6868, allocations: 168.7 MB / 1.272 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004327/0.6912, allocations: 3.156 MB / 1.275 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.6931, allocations: 1.105 MB / 1.277 GB, free: 128 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.6934, allocations: 19.88 kB / 1.277 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.6936, allocations: 87.12 kB / 1.277 GB, free: 20 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.6939, allocations: 115.1 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.6946, allocations: 353.8 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006254/0.6952, allocations: 0.6362 MB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.6955, allocations: 158 kB / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.6958, allocations: 227 kB / 1.278 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.696, allocations: 210.8 kB / 1.278 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.6961, allocations: 56 kB / 1.278 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.6962, allocations: 56 kB / 1.278 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.6963, allocations: 107.5 kB / 1.278 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.6965, allocations: 238.6 kB / 1.279 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006526/0.6971, allocations: 0.6924 MB / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6971, allocations: 0 / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6971, allocations: 0 / 1.279 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.6971, allocations: 0 / 1.279 GB, free: 13.19 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.001248/0.6984, allocations: 0.8407 MB / 1.28 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.6984, allocations: 8.031 kB / 1.28 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.667e-05/0.6985, allocations: 62.72 kB / 1.28 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.6986, allocations: 64.52 kB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.6994, allocations: 0.5221 MB / 1.281 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.6995, allocations: 21.03 kB / 1.281 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.6995, allocations: 28.38 kB / 1.281 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.7002, allocations: 371 kB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7002, allocations: 0 / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.7002, allocations: 16 kB / 1.281 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.7002, allocations: 11.94 kB / 1.281 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005675/0.7008, allocations: 258 kB / 1.282 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.7023, allocations: 1.417 MB / 1.283 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.703, allocations: 254.8 kB / 1.283 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.7033, allocations: 132.8 kB / 1.283 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.7033, allocations: 0 / 1.283 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7033, allocations: 34.56 kB / 1.283 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 9.01e-07/0.7033, allocations: 0 / 1.283 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0008736/0.7042, allocations: 367.7 kB / 1.284 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.7042, allocations: 59.34 kB / 1.284 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.7047, allocations: 417.8 kB / 1.284 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.7047, allocations: 33.7 kB / 1.284 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.7049, allocations: 256.5 kB / 1.284 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.82e-05/0.7049, allocations: 91.25 kB / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.705, allocations: 57.94 kB / 1.285 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7052, allocations: 354.8 kB / 1.285 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.7054, allocations: 92.52 kB / 1.285 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.7057, allocations: 168.7 kB / 1.285 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.7062, allocations: 277.8 kB / 1.285 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7062, allocations: 4 kB / 1.285 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006446/0.7069, allocations: 338.6 kB / 1.286 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7069, allocations: 10.19 kB / 1.286 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7069, allocations: 3.984 kB / 1.286 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7069, allocations: 4 kB / 1.286 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.7072, allocations: 64.16 kB / 1.286 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7072, allocations: 7.938 kB / 1.286 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.7074, allocations: 35.77 kB / 1.286 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.7074, allocations: 11.98 kB / 1.286 GB, free: 6.25 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.0001812/0.7076, allocations: 178.2 kB / 1.286 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.7077, allocations: 47.72 kB / 1.286 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.53e-05/0.7078, allocations: 47.97 kB / 1.286 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.7078, allocations: 0 / 1.286 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7078, allocations: 4 kB / 1.286 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7078, allocations: 3.938 kB / 1.286 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.7083, allocations: 437.2 kB / 1.287 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7083, allocations: 0 / 1.287 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.7085, allocations: 47.95 kB / 1.287 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7085, allocations: 0 / 1.287 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.7085, allocations: 8 kB / 1.287 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7085, allocations: 3.938 kB / 1.287 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7085, allocations: 0 / 1.287 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.7094, allocations: 0.5038 MB / 1.287 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.7096, allocations: 144.8 kB / 1.287 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.7096, allocations: 4 kB / 1.287 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.7098, allocations: 20.05 kB / 1.287 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.7099, allocations: 11.92 kB / 1.287 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.7099, allocations: 11.98 kB / 1.287 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003047/0.7102, allocations: 287.1 kB / 1.288 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7102, allocations: 4 kB / 1.288 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003145/0.7105, allocations: 71.78 kB / 1.288 GB, free: 4.352 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.001196/0.7117, allocations: 1.036 MB / 1.289 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.7123, allocations: 231.7 kB / 1.289 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7123, allocations: 4 kB / 1.289 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.7125, allocations: 114.5 kB / 1.289 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.7131, allocations: 125.5 kB / 1.289 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.7178, allocations: 3.508 MB / 1.293 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.7182, allocations: 0.8194 MB / 1.293 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.7184, allocations: 55.23 kB / 1.293 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.7186, allocations: 147.4 kB / 1.293 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of SimCode: time 8.71e-07/0.7186, allocations: 0 / 1.293 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.7507, allocations: 8.028 MB / 1.301 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.732, allocations: 0 / 1.301 GB, free: 6.266 MB / 0.9981 GB " [Timeout remaining time 291] (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: 14.232067796168849]