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.001574/0.001574, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001663/0.001663, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.463/1.463, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.897/2.897, allocations: 0.49 GB / 0.7923 GB, free: 1.426 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="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.002037/0.002037, allocations: 67.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9931/0.9951, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003742/0.9989, allocations: 3.144 MB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001843/1.001, allocations: 1.19 MB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/1.001, allocations: 22.47 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000252/1.001, allocations: 93.48 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/1.001, allocations: 107.5 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/1.002, allocations: 365.1 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005222/1.003, allocations: 0.6414 MB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/1.003, allocations: 161.9 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/1.003, allocations: 236.5 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/1.003, allocations: 211.6 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-05/1.004, allocations: 52.16 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/1.004, allocations: 54.62 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/1.004, allocations: 104.8 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002197/1.004, allocations: 254.2 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007277/1.005, allocations: 0.6931 MB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.005, allocations: 0 / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.675e-06/1.005, allocations: 4.172 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.711e-05/1.005, allocations: 0 / 1.329 GB, free: 19.98 MB / 1.061 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.00133/1.006, allocations: 0.8428 MB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/1.006, allocations: 16.66 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.461e-05/1.006, allocations: 8.438 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.184e-05/1.006, allocations: 66.06 kB / 1.329 GB, free: 19.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/1.007, allocations: 90.47 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009079/1.008, allocations: 0.5164 MB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/1.008, allocations: 30.16 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/1.008, allocations: 26.78 kB / 1.33 GB, free: 18.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/1.008, allocations: 375 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.008, allocations: 0.625 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/1.008, allocations: 12.16 kB / 1.331 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/1.008, allocations: 6.781 kB / 1.331 GB, free: 18.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006831/1.009, allocations: 250.1 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/1.011, allocations: 1.442 MB / 1.332 GB, free: 17.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/1.012, allocations: 247.6 kB / 1.332 GB, free: 17.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/1.012, allocations: 132.2 kB / 1.333 GB, free: 17.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/1.012, allocations: 2.188 kB / 1.333 GB, free: 17.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/1.012, allocations: 32.44 kB / 1.333 GB, free: 17.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/1.012, allocations: 1 kB / 1.333 GB, free: 17.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.001047/1.013, allocations: 366.6 kB / 1.333 GB, free: 17.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/1.013, allocations: 54.64 kB / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/1.014, allocations: 429.8 kB / 1.333 GB, free: 16.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/1.014, allocations: 30.55 kB / 1.333 GB, free: 16.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/1.014, allocations: 263.5 kB / 1.334 GB, free: 16.53 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/1.014, allocations: 84.16 kB / 1.334 GB, free: 16.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.014, allocations: 55.41 kB / 1.334 GB, free: 16.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.014, allocations: 355 kB / 1.334 GB, free: 16.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.014, allocations: 92.17 kB / 1.334 GB, free: 16.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/1.015, allocations: 168 kB / 1.334 GB, free: 15.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/1.015, allocations: 277.5 kB / 1.335 GB, free: 15.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/1.015, allocations: 5.062 kB / 1.335 GB, free: 15.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007844/1.016, allocations: 339.4 kB / 1.335 GB, free: 15.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.016, allocations: 5.906 kB / 1.335 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.016, allocations: 6.594 kB / 1.335 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.016, allocations: 4.359 kB / 1.335 GB, free: 15.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/1.017, allocations: 64.72 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.017, allocations: 11.66 kB / 1.335 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/1.017, allocations: 31.86 kB / 1.335 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/1.017, allocations: 9.781 kB / 1.335 GB, free: 15.59 MB / 1.061 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.0001678/1.017, allocations: 174.6 kB / 1.335 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/1.017, allocations: 45.12 kB / 1.335 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/1.017, allocations: 54.08 kB / 1.335 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.017, allocations: 2.812 kB / 1.335 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.017, allocations: 4.688 kB / 1.335 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.017, allocations: 2.031 kB / 1.335 GB, free: 15.37 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/1.018, allocations: 430.8 kB / 1.336 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.018, allocations: 1.922 kB / 1.336 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/1.018, allocations: 55.41 kB / 1.336 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.018, allocations: 1.344 kB / 1.336 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.018, allocations: 6.578 kB / 1.336 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/1.018, allocations: 1.672 kB / 1.336 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.018, allocations: 5.406 kB / 1.336 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.019, allocations: 0.4986 MB / 1.336 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.019, allocations: 142.7 kB / 1.336 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/1.019, allocations: 2.062 kB / 1.336 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/1.02, allocations: 14.2 kB / 1.336 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.02, allocations: 24.78 kB / 1.337 GB, free: 14.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.02, allocations: 9.453 kB / 1.337 GB, free: 14.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004975/1.02, allocations: 294.6 kB / 1.337 GB, free: 14.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.02, allocations: 0 / 1.337 GB, free: 14.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004154/1.021, allocations: 73 kB / 1.337 GB, free: 14.44 MB / 1.061 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.001247/1.022, allocations: 1.042 MB / 1.338 GB, free: 13.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006077/1.022, allocations: 233.1 kB / 1.338 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.022, allocations: 0 / 1.338 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/1.023, allocations: 117.6 kB / 1.338 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/1.023, allocations: 132.3 kB / 1.338 GB, free: 13.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/1.028, allocations: 3.534 MB / 1.342 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/1.029, allocations: 0.8216 MB / 1.343 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.029, allocations: 48.83 kB / 1.343 GB, free: 10.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/1.029, allocations: 152.5 kB / 1.343 GB, free: 10.43 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/1.029, allocations: 0 / 1.343 GB, free: 10.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/1.06, allocations: 8.193 MB / 1.351 GB, free: 9.551 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.989/10.05, allocations: 10.59 kB / 1.351 GB, free: 9.543 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.48688934202073]