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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.249/3.249, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 68.48 kB / 1.177 GB, free: 17.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 180.2 MB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005274/0.3885, allocations: 3.158 MB / 1.356 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3912, allocations: 1.188 MB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005589/0.3917, allocations: 27.75 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.3921, allocations: 95.06 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.3925, allocations: 103.1 kB / 1.357 GB, free: 4.027 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3935, allocations: 376.5 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.3945, allocations: 0.6441 MB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.3949, allocations: 166.5 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.3954, allocations: 239 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.3957, allocations: 210.8 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3958, allocations: 52 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3959, allocations: 63.98 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3961, allocations: 107.5 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.3963, allocations: 238.6 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.3972, allocations: 0.7002 MB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3972, allocations: 0 / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3972, allocations: 7.938 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.411e-05/0.3972, allocations: 0 / 1.36 GB, free: 1.246 MB / 1.045 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.001704/0.3989, allocations: 0.7653 MB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.3989, allocations: 12.03 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.3991, allocations: 66.72 kB / 1.361 GB, free: 372 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003844/0.3994, allocations: 84.53 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.4005, allocations: 475.7 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.4006, allocations: 21.03 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.4006, allocations: 32.38 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.4013, allocations: 367 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4013, allocations: 0 / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.4014, allocations: 12 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4014, allocations: 8 kB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.402, allocations: 262.4 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.4039, allocations: 1.391 MB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007059/0.4046, allocations: 254.8 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.4049, allocations: 138.3 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.405, allocations: 7.984 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.405, allocations: 38.56 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.405, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0009881/0.406, allocations: 362.1 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4061, allocations: 55.41 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.4066, allocations: 421.9 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.4066, allocations: 29.7 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.4068, allocations: 264.4 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.4069, allocations: 75.33 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.407, allocations: 61.86 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4072, allocations: 362.8 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.4075, allocations: 92.52 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.4078, allocations: 164.7 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.4083, allocations: 275.9 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.4083, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007143/0.409, allocations: 345 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4091, allocations: 4 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4091, allocations: 4 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.4091, allocations: 4 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.4094, allocations: 55.91 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.4094, allocations: 15.86 kB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.4096, allocations: 40.02 kB / 1.366 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.4097, allocations: 12 kB / 1.366 GB, free: 10.46 MB / 1.061 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.0002158/0.4099, allocations: 173.7 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.41, allocations: 47.72 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.4101, allocations: 48.09 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4101, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4101, allocations: 3.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4101, allocations: 3.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.4106, allocations: 420.3 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4106, allocations: 0 / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.4109, allocations: 43.97 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4109, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.4109, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4109, allocations: 4 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4109, allocations: 3.938 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009491/0.4119, allocations: 0.5019 MB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.412, allocations: 63.66 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.4121, allocations: 8 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4123, allocations: 11.98 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.4123, allocations: 19.97 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.4124, allocations: 16 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003585/0.4127, allocations: 287.1 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003382/0.4131, allocations: 67.84 kB / 1.368 GB, free: 8.688 MB / 1.061 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.001317/0.4144, allocations: 1.048 MB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006495/0.415, allocations: 243.1 kB / 1.369 GB, free: 7.379 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.415, allocations: 0 / 1.369 GB, free: 7.379 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.4153, allocations: 107.9 kB / 1.369 GB, free: 7.273 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.416, allocations: 135.9 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.4216, allocations: 3.527 MB / 1.373 GB, free: 3.484 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.422, allocations: 0.8155 MB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002237/0.4222, allocations: 51.25 kB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.4225, allocations: 147.4 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/0.4225, allocations: 0 / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04633/0.4688, allocations: 8.395 MB / 1.382 GB, free: 10.26 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.07, allocations: 5.656 kB / 1.382 GB, free: 10.25 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.088634609011933]