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.001275/0.001275, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001425/0.001425, allocations: 218.8 kB / 23.03 MB, free: 4.922 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.103/3.103, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",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="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.001968/0.001968, allocations: 69.12 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3703, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004782/0.3751, allocations: 2.889 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3773, allocations: 1.149 MB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.3775, allocations: 23.81 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3778, allocations: 95.06 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.3781, allocations: 107.1 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.3788, allocations: 365.2 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.3795, allocations: 0.6402 MB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.3798, allocations: 162.2 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.3802, allocations: 243 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3804, allocations: 214.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.267e-05/0.3805, allocations: 52 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3806, allocations: 63.92 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3807, allocations: 107.6 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3809, allocations: 182.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007369/0.3816, allocations: 0.7002 MB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3816, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3816, allocations: 0 / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.3816, allocations: 4 kB / 1.333 GB, free: 10.52 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.001309/0.3829, allocations: 0.7614 MB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.383, allocations: 16.03 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.537e-05/0.383, allocations: 8.844 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.724e-05/0.3831, allocations: 66.67 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.3834, allocations: 92.47 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.3843, allocations: 475.4 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3844, allocations: 25.03 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.3844, allocations: 28.38 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.3851, allocations: 430.3 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3851, allocations: 0 / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.3852, allocations: 12 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.3852, allocations: 12 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.3858, allocations: 250.4 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.3874, allocations: 1.305 MB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.3881, allocations: 250.9 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.3884, allocations: 126.8 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.3884, allocations: 4 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3885, allocations: 38.56 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.3885, allocations: 0 / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009109/0.3894, allocations: 361.1 kB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3894, allocations: 55.41 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.3899, allocations: 425.8 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.3899, allocations: 37.7 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.3902, allocations: 256.4 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/0.3903, allocations: 87.28 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.3903, allocations: 53.98 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.3905, allocations: 350.8 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.3908, allocations: 96.5 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.3911, allocations: 164.7 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.3916, allocations: 281.3 kB / 1.339 GB, free: 4.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3916, allocations: 3.938 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006838/0.3923, allocations: 341 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3923, allocations: 8.25 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3924, allocations: 4 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3924, allocations: 4 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.3927, allocations: 67.89 kB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3927, allocations: 7.938 kB / 1.34 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3929, allocations: 27.81 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3929, allocations: 15.94 kB / 1.34 GB, free: 3.766 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.0002017/0.3931, allocations: 169.8 kB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.3932, allocations: 47.67 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.3933, allocations: 56.09 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3933, allocations: 4 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3933, allocations: 3.938 kB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3933, allocations: 0 / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.3938, allocations: 364.4 kB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3938, allocations: 0 / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.3941, allocations: 51.91 kB / 1.34 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.3941, allocations: 3.984 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.3941, allocations: 15.98 kB / 1.34 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3941, allocations: 4 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3941, allocations: 3.938 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.3951, allocations: 0.4926 MB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.3952, allocations: 67.66 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.3952, allocations: 4 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3954, allocations: 16.05 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.3955, allocations: 23.84 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3955, allocations: 7.984 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003408/0.3958, allocations: 295.1 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3958, allocations: 0 / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003392/0.3962, allocations: 67.84 kB / 1.341 GB, free: 2.023 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.001239/0.3974, allocations: 1.042 MB / 1.342 GB, free: 0.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.398, allocations: 233.8 kB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.398, allocations: 4 kB / 1.343 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.3983, allocations: 111.9 kB / 1.343 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006706/0.3989, allocations: 121.3 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.4041, allocations: 3.534 MB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4043, allocations: 216.3 kB / 1.346 GB, free: 12.6 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.4045, allocations: 55.25 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.4048, allocations: 151.4 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.4048, allocations: 0 / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.4386, allocations: 8.67 MB / 1.355 GB, free: 4.012 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.08, allocations: 15.8 kB / 1.355 GB, free: 3.996 MB / 1.045 GB " [Timeout remaining time 287] (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: 19.884309274028055]