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.001518/0.001518, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001659/0.001659, allocations: 212 kB / 20.13 MB, free: 2.949 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.922/2.922, allocations: 476.7 MB / 0.7678 GB, free: 9.359 MB / 0.6075 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.00202/0.00202, allocations: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217/1.219, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005888/1.225, allocations: 3.149 MB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003315/1.228, allocations: 1.191 MB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/1.229, allocations: 24.41 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003553/1.229, allocations: 89.62 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002965/1.229, allocations: 115.4 kB / 1.283 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/1.23, allocations: 354.5 kB / 1.284 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/1.231, allocations: 0.6373 MB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/1.232, allocations: 173.1 kB / 1.285 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/1.232, allocations: 234 kB / 1.285 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/1.232, allocations: 209.2 kB / 1.285 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/1.233, allocations: 57.31 kB / 1.285 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/1.233, allocations: 59.05 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/1.233, allocations: 107.7 kB / 1.285 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/1.233, allocations: 249.7 kB / 1.285 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/1.234, allocations: 0.6934 MB / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.234, allocations: 0 / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.574e-06/1.234, allocations: 0 / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.234, allocations: 5.156 kB / 1.286 GB, free: 6.961 MB / 0.9981 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.00171/1.236, allocations: 0.8441 MB / 1.287 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.236, allocations: 9.438 kB / 1.287 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.554e-05/1.236, allocations: 8.344 kB / 1.287 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.662e-05/1.236, allocations: 64.94 kB / 1.287 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/1.236, allocations: 91.91 kB / 1.287 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.238, allocations: 0.521 MB / 1.288 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/1.238, allocations: 20.88 kB / 1.288 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/1.238, allocations: 27.69 kB / 1.288 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/1.238, allocations: 375 kB / 1.288 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.238, allocations: 5.094 kB / 1.288 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/1.238, allocations: 11.47 kB / 1.288 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/1.238, allocations: 11.58 kB / 1.288 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/1.239, allocations: 249.5 kB / 1.288 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/1.241, allocations: 1.43 MB / 1.29 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/1.242, allocations: 252.5 kB / 1.29 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/1.242, allocations: 130.6 kB / 1.29 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/1.242, allocations: 3.203 kB / 1.29 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.242, allocations: 32.44 kB / 1.29 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/1.242, allocations: 0 / 1.29 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.001063/1.244, allocations: 369.9 kB / 1.29 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/1.244, allocations: 54.66 kB / 1.29 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/1.244, allocations: 426.3 kB / 1.291 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/1.244, allocations: 27.11 kB / 1.291 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/1.245, allocations: 259.3 kB / 1.291 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/1.245, allocations: 92.17 kB / 1.291 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.245, allocations: 55.31 kB / 1.291 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.245, allocations: 358 kB / 1.292 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/1.245, allocations: 95.42 kB / 1.292 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/1.246, allocations: 168 kB / 1.292 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/1.246, allocations: 271 kB / 1.292 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.246, allocations: 1.188 kB / 1.292 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008101/1.247, allocations: 345.1 kB / 1.292 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.247, allocations: 5.75 kB / 1.292 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.247, allocations: 2.859 kB / 1.292 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.247, allocations: 2.906 kB / 1.292 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/1.247, allocations: 69.41 kB / 1.293 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/1.247, allocations: 16.98 kB / 1.293 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/1.248, allocations: 26.31 kB / 1.293 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.248, allocations: 10.25 kB / 1.293 GB, free: 2.586 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.0002513/1.248, allocations: 174.7 kB / 1.293 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/1.248, allocations: 48.39 kB / 1.293 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/1.248, allocations: 47.91 kB / 1.293 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.248, allocations: 2.562 kB / 1.293 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.248, allocations: 7.938 kB / 1.293 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.248, allocations: 1.406 kB / 1.293 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/1.249, allocations: 433.1 kB / 1.293 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.249, allocations: 0 / 1.293 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/1.249, allocations: 48.89 kB / 1.293 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.249, allocations: 1.344 kB / 1.293 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.249, allocations: 6.625 kB / 1.293 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.249, allocations: 1.125 kB / 1.293 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.249, allocations: 3.938 kB / 1.293 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/1.25, allocations: 0.4986 MB / 1.294 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/1.251, allocations: 142.8 kB / 1.294 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/1.251, allocations: 5.375 kB / 1.294 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/1.251, allocations: 17.78 kB / 1.294 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/1.251, allocations: 20.75 kB / 1.294 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/1.251, allocations: 6.75 kB / 1.294 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004584/1.251, allocations: 293.9 kB / 1.294 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.251, allocations: 0 / 1.294 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003876/1.252, allocations: 68.5 kB / 1.294 GB, free: 1.445 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.001504/1.253, allocations: 1.044 MB / 1.295 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006947/1.254, allocations: 237.2 kB / 1.296 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.254, allocations: 3.938 kB / 1.296 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.254, allocations: 111.9 kB / 1.296 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/1.255, allocations: 136.8 kB / 1.296 GB, free: 480 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/1.261, allocations: 3.54 MB / 1.299 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/1.262, allocations: 0.8195 MB / 1.3 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003056/1.262, allocations: 50.8 kB / 1.3 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/1.262, allocations: 157.4 kB / 1.3 GB, free: 13.42 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/1.262, allocations: 0 / 1.3 GB, free: 13.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/1.299, allocations: 8.201 MB / 1.308 GB, free: 12.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.131/10.43, allocations: 8.812 kB / 1.308 GB, free: 12.52 MB / 1.014 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/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: 17.393686892988626]