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.001423/0.001423, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002877/0.002877, allocations: 216.3 kB / 22.25 MB, free: 5.258 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 2.202/2.202, allocations: 230.6 MB / 256 MB, free: 7.785 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.123/3.123, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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="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.002067/0.002067, allocations: 72.41 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00466/0.3463, allocations: 2.895 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3485, allocations: 1.149 MB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.3487, allocations: 23.81 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.349, allocations: 95.06 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.3492, allocations: 107 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.35, allocations: 363.2 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.3507, allocations: 0.6324 MB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.351, allocations: 158.2 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.3513, allocations: 243 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3515, allocations: 190.8 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.3516, allocations: 52 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.3517, allocations: 56 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.3518, allocations: 115.5 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.352, allocations: 186.9 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.3527, allocations: 0.7002 MB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3527, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3527, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.3528, allocations: 0 / 1.332 GB, free: 11.31 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.001347/0.3541, allocations: 0.7692 MB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3541, allocations: 12.03 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.3542, allocations: 70.66 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000328/0.3545, allocations: 88.53 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009145/0.3555, allocations: 471.5 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.3555, allocations: 24.97 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.3555, allocations: 28.38 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.3562, allocations: 430.5 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3563, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.3563, allocations: 15.98 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3563, allocations: 8 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.357, allocations: 254.4 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.3586, allocations: 1.309 MB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.3593, allocations: 242.9 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3596, allocations: 136 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.3597, allocations: 0 / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3597, allocations: 42.5 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.142e-06/0.3597, allocations: 0 / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009208/0.3606, allocations: 359 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3607, allocations: 55.41 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.3612, allocations: 429.8 kB / 1.336 GB, free: 6.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3612, allocations: 33.7 kB / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3614, allocations: 252.5 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.377e-05/0.3615, allocations: 91.25 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3616, allocations: 61.92 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.3619, allocations: 350.8 kB / 1.337 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.3621, allocations: 92.5 kB / 1.337 GB, free: 5.516 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.3624, allocations: 172.7 kB / 1.337 GB, free: 5.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.363, allocations: 277.7 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.363, allocations: 0 / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000682/0.3637, allocations: 341 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3637, allocations: 8 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3637, allocations: 3.938 kB / 1.338 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3637, allocations: 4 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.364, allocations: 67.89 kB / 1.338 GB, free: 4.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.364, allocations: 4 kB / 1.338 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.3642, allocations: 35.77 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3643, allocations: 16.25 kB / 1.338 GB, free: 4.547 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.0001881/0.3644, allocations: 173.7 kB / 1.338 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.3645, allocations: 43.72 kB / 1.338 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.3646, allocations: 52.03 kB / 1.338 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3646, allocations: 4 kB / 1.338 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3646, allocations: 0 / 1.338 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3646, allocations: 3.938 kB / 1.338 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.3651, allocations: 360.5 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3651, allocations: 0 / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.3654, allocations: 51.91 kB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3654, allocations: 0 / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.3654, allocations: 11.98 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3654, allocations: 4 kB / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3654, allocations: 0 / 1.339 GB, free: 3.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.3664, allocations: 0.4985 MB / 1.339 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3665, allocations: 67.66 kB / 1.339 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.3666, allocations: 7.938 kB / 1.339 GB, free: 3.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.3667, allocations: 15.98 kB / 1.339 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3668, allocations: 15.91 kB / 1.339 GB, free: 3.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3668, allocations: 11.98 kB / 1.339 GB, free: 3.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000333/0.3672, allocations: 291.1 kB / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 0 / 1.34 GB, free: 2.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003279/0.3675, allocations: 71.78 kB / 1.34 GB, free: 2.82 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.001286/0.3688, allocations: 1.054 MB / 1.341 GB, free: 1.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.3694, allocations: 227.9 kB / 1.341 GB, free: 1.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3694, allocations: 4 kB / 1.341 GB, free: 1.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.3696, allocations: 107.9 kB / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.3703, allocations: 132.9 kB / 1.341 GB, free: 1.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005083/0.3754, allocations: 3.532 MB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3756, allocations: 220.3 kB / 1.345 GB, free: 13.38 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.3758, allocations: 55.25 kB / 1.345 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.3761, allocations: 155.4 kB / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.3761, allocations: 0 / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/0.4155, allocations: 8.966 MB / 1.354 GB, free: 4.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.93, allocations: 8 kB / 1.354 GB, free: 4.449 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: 19.27806834410876]