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.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.00165/0.00165, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.00201/0.00201, allocations: 210.7 kB / 23.04 MB, free: 5.074 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.044/3.044, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="cs",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="cs",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.002199/0.002199, allocations: 65.88 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4577, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004997/0.4627, allocations: 3.167 MB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.4651, allocations: 1.188 MB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.4655, allocations: 31.75 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.4658, allocations: 91.06 kB / 1.289 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002272/0.466, allocations: 111 kB / 1.289 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.4668, allocations: 369.5 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.4675, allocations: 0.6441 MB / 1.29 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.4678, allocations: 162.4 kB / 1.29 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003574/0.4682, allocations: 239 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.4684, allocations: 206.8 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.4685, allocations: 59.94 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.4686, allocations: 63.98 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.4687, allocations: 103.6 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.4689, allocations: 246.5 kB / 1.291 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.4697, allocations: 0.6931 MB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4697, allocations: 0 / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4697, allocations: 0 / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4697, allocations: 4 kB / 1.291 GB, free: 4.438 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.001348/0.471, allocations: 0.7614 MB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4711, allocations: 12.03 kB / 1.292 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.4711, allocations: 8.844 kB / 1.292 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.847e-05/0.4712, allocations: 70.72 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.4716, allocations: 88.48 kB / 1.292 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.4725, allocations: 467.5 kB / 1.293 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.4725, allocations: 21.03 kB / 1.293 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.4726, allocations: 28.38 kB / 1.293 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.4733, allocations: 374.9 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4733, allocations: 3.938 kB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.4733, allocations: 16 kB / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.4733, allocations: 8 kB / 1.293 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/0.474, allocations: 258.4 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.4758, allocations: 1.391 MB / 1.295 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.4765, allocations: 250.9 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.4768, allocations: 128.7 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4768, allocations: 4 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4768, allocations: 42.55 kB / 1.295 GB, free: 360 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.4768, allocations: 0 / 1.295 GB, free: 360 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009631/0.4778, allocations: 357.2 kB / 1.295 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4778, allocations: 63.34 kB / 1.296 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.4783, allocations: 425.8 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.4784, allocations: 29.7 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.4786, allocations: 260.4 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.4786, allocations: 83.27 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4787, allocations: 53.98 kB / 1.296 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4789, allocations: 358.8 kB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.4792, allocations: 96.52 kB / 1.297 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.4795, allocations: 160.7 kB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.48, allocations: 274 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.48, allocations: 4 kB / 1.297 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006971/0.4807, allocations: 348.6 kB / 1.298 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4808, allocations: 4 kB / 1.298 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4808, allocations: 4 kB / 1.298 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4808, allocations: 4 kB / 1.298 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.4811, allocations: 55.91 kB / 1.298 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.4811, allocations: 15.86 kB / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.4813, allocations: 31.81 kB / 1.298 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.4813, allocations: 12 kB / 1.298 GB, free: 13.66 MB / 0.9981 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.0002084/0.4815, allocations: 173.9 kB / 1.298 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.4816, allocations: 47.67 kB / 1.298 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.4817, allocations: 52.09 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4817, allocations: 0 / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4817, allocations: 7.875 kB / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4817, allocations: 0 / 1.298 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.4823, allocations: 412.3 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4823, allocations: 4 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.4825, allocations: 43.97 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4825, allocations: 4 kB / 1.298 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4825, allocations: 4 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4825, allocations: 0 / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4826, allocations: 15.86 kB / 1.298 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.4835, allocations: 0.5017 MB / 1.299 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.4836, allocations: 63.62 kB / 1.299 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.4837, allocations: 4 kB / 1.299 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.4839, allocations: 15.98 kB / 1.299 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.4839, allocations: 15.91 kB / 1.299 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.484, allocations: 8 kB / 1.299 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003397/0.4843, allocations: 295.2 kB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4843, allocations: 0 / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003402/0.4846, allocations: 67.84 kB / 1.299 GB, free: 11.88 MB / 0.9981 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.001286/0.4859, allocations: 1.037 MB / 1.3 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006143/0.4865, allocations: 238.2 kB / 1.301 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4865, allocations: 4 kB / 1.301 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.4868, allocations: 111.8 kB / 1.301 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.4875, allocations: 128.2 kB / 1.301 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/0.493, allocations: 3.548 MB / 1.304 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.4936, allocations: 0.8194 MB / 1.305 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002545/0.4938, allocations: 55.25 kB / 1.305 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.4941, allocations: 155.4 kB / 1.305 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of SimCode: time 2.184e-06/0.4941, allocations: 0 / 1.305 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.5378, allocations: 8.399 MB / 1.313 GB, free: 13.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.93, allocations: 7.734 kB / 1.313 GB, free: 13.44 MB / 1.014 GB " [Timeout remaining time 286] (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/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: 20.455124759988394]