Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001512/0.001512, allocations: 216 kB / 22.25 MB, free: 5.105 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001974/0.001974, allocations: 64.55 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3482, allocations: 176.1 MB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005489/0.3537, allocations: 2.886 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002578/0.3563, allocations: 1.153 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.3566, allocations: 27.75 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.3569, allocations: 95.06 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.3572, allocations: 111.1 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.358, allocations: 357.2 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007762/0.3588, allocations: 0.6402 MB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.3592, allocations: 170.2 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003819/0.3595, allocations: 239 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.3598, allocations: 214.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.613e-05/0.3599, allocations: 56 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.36, allocations: 52 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.3601, allocations: 111.6 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.3603, allocations: 182.9 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.3611, allocations: 0.7041 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3611, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3611, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3611, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 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.00142/0.3625, allocations: 0.7614 MB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3626, allocations: 8.031 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.672e-05/0.3627, allocations: 74.66 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.3631, allocations: 92.48 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009862/0.364, allocations: 471.5 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.3641, allocations: 21.03 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.3641, allocations: 28.38 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.3649, allocations: 426.5 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3649, allocations: 0 / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.3649, allocations: 15.94 kB / 1.334 GB, free: 8.594 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.3649, allocations: 8 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.3655, allocations: 254.4 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.3672, allocations: 1.313 MB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.3679, allocations: 246.9 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.3682, allocations: 131 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.3682, allocations: 3.938 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3683, allocations: 38.56 kB / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.3683, allocations: 0 / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009419/0.3692, allocations: 362.5 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3693, allocations: 55.41 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.3697, allocations: 433.8 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3698, allocations: 29.7 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.37, allocations: 260.4 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.3701, allocations: 83.27 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3702, allocations: 61.92 kB / 1.338 GB, free: 5.227 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3703, allocations: 354.8 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.3706, allocations: 92.5 kB / 1.338 GB, free: 4.781 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.3709, allocations: 164.7 kB / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005343/0.3714, allocations: 275.3 kB / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3714, allocations: 0 / 1.338 GB, free: 4.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006828/0.3721, allocations: 343 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3721, allocations: 8 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3721, allocations: 4 kB / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3722, allocations: 0 / 1.339 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.3724, allocations: 64.14 kB / 1.339 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3724, allocations: 11.94 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3727, allocations: 35.77 kB / 1.339 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.3727, allocations: 15.94 kB / 1.339 GB, free: 3.82 MB / 1.029 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.0002026/0.3729, allocations: 173.7 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.3729, allocations: 43.72 kB / 1.339 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3731, allocations: 48.09 kB / 1.339 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3731, allocations: 4 kB / 1.339 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3731, allocations: 0 / 1.339 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3731, allocations: 11.92 kB / 1.339 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.3735, allocations: 360.5 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3735, allocations: 4 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3738, allocations: 39.97 kB / 1.34 GB, free: 3.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.3738, allocations: 11.98 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3738, allocations: 4 kB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3738, allocations: 0 / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3738, allocations: 3.938 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/0.3748, allocations: 0.505 MB / 1.34 GB, free: 2.555 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3749, allocations: 63.58 kB / 1.34 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.3749, allocations: 11.98 kB / 1.34 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3751, allocations: 11.98 kB / 1.34 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.3752, allocations: 15.91 kB / 1.34 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.3752, allocations: 12 kB / 1.34 GB, free: 2.441 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003297/0.3756, allocations: 295.2 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3756, allocations: 0 / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003437/0.3759, allocations: 71.78 kB / 1.341 GB, free: 2.086 MB / 1.029 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.001217/0.3771, allocations: 1.053 MB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005767/0.3777, allocations: 231.6 kB / 1.342 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3777, allocations: 0 / 1.342 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.3779, allocations: 110.2 kB / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.3786, allocations: 137.5 kB / 1.342 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.3838, allocations: 3.526 MB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.384, allocations: 220.3 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.3842, allocations: 59.25 kB / 1.346 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.3845, allocations: 151.4 kB / 1.346 GB, free: 12.44 MB / 1.045 GB Notification: Performance of SimCode: time 1.252e-06/0.3845, allocations: 0 / 1.346 GB, free: 12.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.4249, allocations: 9.058 MB / 1.355 GB, free: 3.633 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.59, allocations: 3.938 kB / 1.355 GB, free: 3.629 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.242984092998086]