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.001868/0.001868, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002253/0.002253, allocations: 217 kB / 23.04 MB, free: 5.074 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.065/3.065, allocations: 0.49 GB / 0.7959 GB, free: 33.62 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.002005/0.002005, allocations: 65.06 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004795/0.3446, allocations: 3.164 MB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002618/0.3472, allocations: 1.192 MB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003799/0.3476, allocations: 23.81 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.3479, allocations: 91.06 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.3481, allocations: 107.1 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.349, allocations: 381.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.3499, allocations: 0.6363 MB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.3503, allocations: 174.2 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.3507, allocations: 239 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.3509, allocations: 210.8 kB / 1.333 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.086e-05/0.351, allocations: 52 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3511, allocations: 63.98 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3512, allocations: 107.6 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.3514, allocations: 242.6 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007963/0.3522, allocations: 0.6963 MB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3522, allocations: 0 / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3522, allocations: 0 / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.3522, allocations: 3.938 kB / 1.334 GB, free: 10.56 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.00137/0.3536, allocations: 0.7614 MB / 1.335 GB, free: 9.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3537, allocations: 8.031 kB / 1.335 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.551e-05/0.3537, allocations: 20.83 kB / 1.335 GB, free: 9.742 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.3538, allocations: 62.73 kB / 1.335 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.3541, allocations: 88.48 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.355, allocations: 475.5 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.355, allocations: 21.03 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.3551, allocations: 32.38 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.3558, allocations: 374.9 kB / 1.336 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.3558, allocations: 4 kB / 1.336 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3558, allocations: 12 kB / 1.336 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3558, allocations: 8 kB / 1.336 GB, free: 8.621 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.3565, allocations: 250.4 kB / 1.336 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.3584, allocations: 1.398 MB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.3591, allocations: 250.9 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.3594, allocations: 125.8 kB / 1.338 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.3594, allocations: 7.984 kB / 1.338 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3594, allocations: 38.56 kB / 1.338 GB, free: 6.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.3594, allocations: 0 / 1.338 GB, free: 6.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009695/0.3604, allocations: 367.1 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3605, allocations: 55.41 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.361, allocations: 425.8 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.361, allocations: 33.7 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.3612, allocations: 256.4 kB / 1.339 GB, free: 5.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.949e-05/0.3613, allocations: 83.28 kB / 1.339 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3614, allocations: 57.97 kB / 1.339 GB, free: 5.188 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3616, allocations: 350.8 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.3619, allocations: 100.5 kB / 1.339 GB, free: 4.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3622, allocations: 156.7 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.3627, allocations: 279.3 kB / 1.34 GB, free: 4.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3627, allocations: 0 / 1.34 GB, free: 4.258 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007221/0.3634, allocations: 346.8 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3635, allocations: 11.94 kB / 1.34 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3635, allocations: 0 / 1.34 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3635, allocations: 4 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3638, allocations: 63.89 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.3638, allocations: 11.88 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.364, allocations: 28.06 kB / 1.34 GB, free: 3.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.364, allocations: 20 kB / 1.34 GB, free: 3.777 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.0002159/0.3642, allocations: 169.8 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.3643, allocations: 47.67 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.3644, allocations: 48.09 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3644, allocations: 4 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3644, allocations: 3.938 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3644, allocations: 0 / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.3649, allocations: 412.3 kB / 1.341 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3649, allocations: 4 kB / 1.341 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.3652, allocations: 47.91 kB / 1.341 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3652, allocations: 0 / 1.341 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.3652, allocations: 11.98 kB / 1.341 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3652, allocations: 4 kB / 1.341 GB, free: 2.984 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3652, allocations: 3.938 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009442/0.3662, allocations: 0.4929 MB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3663, allocations: 63.66 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.3663, allocations: 8 kB / 1.341 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.3665, allocations: 15.98 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3666, allocations: 15.91 kB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3666, allocations: 19.98 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003185/0.3669, allocations: 291.1 kB / 1.342 GB, free: 2.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3669, allocations: 0 / 1.342 GB, free: 2.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000318/0.3672, allocations: 71.78 kB / 1.342 GB, free: 1.996 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.001238/0.3685, allocations: 1.048 MB / 1.343 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.3691, allocations: 228.2 kB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3691, allocations: 4 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.3693, allocations: 107.9 kB / 1.343 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.37, allocations: 136.8 kB / 1.343 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.3751, allocations: 3.536 MB / 1.347 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.3755, allocations: 0.8194 MB / 1.348 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.3758, allocations: 55.25 kB / 1.348 GB, free: 11.9 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.376, allocations: 151.4 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.376, allocations: 0 / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.4081, allocations: 8.404 MB / 1.356 GB, free: 3.57 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.18, allocations: 8.062 kB / 1.356 GB, free: 3.562 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.93329060904216]