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.001399/0.001399, allocations: 110.4 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.001768/0.001768, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.961 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.883/2.883, allocations: 476.7 MB / 0.7707 GB, free: 4.258 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="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: 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.002039/0.002039, allocations: 65.58 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005111/0.3223, allocations: 3.163 MB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.3249, allocations: 1.2 MB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.3255, allocations: 23.81 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.3259, allocations: 95.06 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.3263, allocations: 111 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3274, allocations: 373.5 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009601/0.3283, allocations: 0.648 MB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.3287, allocations: 162.4 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.3292, allocations: 235 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.3296, allocations: 206.8 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3297, allocations: 59.94 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3298, allocations: 56 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3299, allocations: 103.6 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.3302, allocations: 250.5 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008229/0.331, allocations: 0.6924 MB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.331, allocations: 4 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.331, allocations: 3.938 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.236e-05/0.331, allocations: 3.984 kB / 1.291 GB, free: 4.305 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.001629/0.3327, allocations: 0.7614 MB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3327, allocations: 12.03 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.126e-05/0.3328, allocations: 70.7 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.3332, allocations: 88.48 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3342, allocations: 467.5 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.3342, allocations: 21.03 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.3343, allocations: 28.38 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.335, allocations: 375.1 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.335, allocations: 0 / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.3351, allocations: 12 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.3351, allocations: 8 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.3357, allocations: 258.4 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3375, allocations: 1.391 MB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.3382, allocations: 256.1 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.3385, allocations: 131.1 kB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3385, allocations: 7.938 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3385, allocations: 34.56 kB / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.3385, allocations: 0 / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009337/0.3395, allocations: 367.2 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3395, allocations: 55.41 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.34, allocations: 425.8 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.34, allocations: 29.7 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.3402, allocations: 256.4 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.3403, allocations: 91.12 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.58e-05/0.3404, allocations: 53.98 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3406, allocations: 358.8 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3408, allocations: 88.52 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.3411, allocations: 180.6 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005523/0.3417, allocations: 270.2 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3417, allocations: 0 / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006952/0.3424, allocations: 341 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3424, allocations: 4 kB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3424, allocations: 7.984 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3424, allocations: 4 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.3427, allocations: 59.91 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3427, allocations: 8.188 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.343, allocations: 35.81 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.343, allocations: 15.98 kB / 1.297 GB, free: 13.53 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.0002021/0.3432, allocations: 173.3 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.3433, allocations: 51.67 kB / 1.297 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.3434, allocations: 48.09 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3434, allocations: 4 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3434, allocations: 0 / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3434, allocations: 7.938 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.3439, allocations: 400.3 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3439, allocations: 4 kB / 1.298 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.3442, allocations: 51.89 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.3442, allocations: 4 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.3442, allocations: 4 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3442, allocations: 0 / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3442, allocations: 0 / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009427/0.3451, allocations: 0.5033 MB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3453, allocations: 67.66 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.3453, allocations: 4 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3455, allocations: 16.05 kB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.3456, allocations: 19.91 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3456, allocations: 4 kB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000328/0.3459, allocations: 299.1 kB / 1.298 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3459, allocations: 0 / 1.298 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003406/0.3463, allocations: 67.84 kB / 1.299 GB, free: 11.76 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.00124/0.3475, allocations: 1.043 MB / 1.3 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006058/0.3481, allocations: 235.7 kB / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3481, allocations: 0 / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.3484, allocations: 111.9 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.3491, allocations: 132 kB / 1.3 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.3544, allocations: 3.538 MB / 1.303 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.3549, allocations: 0.8194 MB / 1.304 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.3551, allocations: 51.25 kB / 1.304 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.3553, allocations: 147.4 kB / 1.304 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of SimCode: time 1.001e-06/0.3553, allocations: 0 / 1.304 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04136/0.3967, allocations: 8.382 MB / 1.313 GB, free: 13.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/17.67, allocations: 4.656 kB / 1.313 GB, free: 13.34 MB / 1.014 GB " [Timeout remaining time 282] (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: 24.728290593950078]