Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001164/0.001164, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001304/0.001304, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8616/0.8616, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.738e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003115/0.003132, allocations: 2.889 MB / 0.9533 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.004783, allocations: 1.149 MB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.005053, allocations: 27.75 kB / 0.9545 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.005285, allocations: 95.12 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.005472, allocations: 114.9 kB / 0.9547 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.006084, allocations: 367.8 kB / 0.955 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000539/0.006623, allocations: 0.6518 MB / 0.9556 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.006887, allocations: 162.2 kB / 0.9558 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.007254, allocations: 335 kB / 0.9561 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.007415, allocations: 147.5 kB / 0.9563 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.007465, allocations: 56 kB / 0.9563 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.007529, allocations: 52 kB / 0.9564 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.007587, allocations: 115.5 kB / 0.9565 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.007682, allocations: 139.5 kB / 0.9566 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.008182, allocations: 0.7086 MB / 0.9573 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.008185, allocations: 0 / 0.9573 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.293e-06/0.008186, allocations: 4 kB / 0.9573 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.008195, allocations: 3.938 kB / 0.9573 GB, free: 12.49 MB / 0.9167 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.0008814/0.009077, allocations: 0.7575 MB / 0.958 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.009115, allocations: 12.03 kB / 0.9581 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.009172, allocations: 70.66 kB / 0.9581 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.009365, allocations: 84.53 kB / 0.9582 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.009955, allocations: 470.7 kB / 0.9587 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.009974, allocations: 28.95 kB / 0.9587 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.01001, allocations: 28.38 kB / 0.9587 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.01059, allocations: 419 kB / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.0106, allocations: 192 / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01062, allocations: 20.12 kB / 0.9591 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.01063, allocations: 12 kB / 0.9591 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.01098, allocations: 254.4 kB / 0.9594 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01205, allocations: 1.305 MB / 0.9607 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.01247, allocations: 245.4 kB / 0.9609 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.01263, allocations: 124.8 kB / 0.961 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01266, allocations: 0 / 0.961 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.01268, allocations: 46.55 kB / 0.961 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.283e-06/0.01268, allocations: 0 / 0.961 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0005342/0.01321, allocations: 359.7 kB / 0.9614 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.01324, allocations: 59.41 kB / 0.9614 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.01355, allocations: 417.9 kB / 0.9618 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.01356, allocations: 37.7 kB / 0.9619 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.0137, allocations: 260.4 kB / 0.9621 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.01374, allocations: 87.22 kB / 0.9622 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.01381, allocations: 53.98 kB / 0.9623 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.0139, allocations: 358.7 kB / 0.9626 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.01404, allocations: 96.5 kB / 0.9627 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01421, allocations: 160.7 kB / 0.9629 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.01451, allocations: 277.4 kB / 0.9631 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01452, allocations: 0 / 0.9631 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003842/0.0149, allocations: 337 kB / 0.9634 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01492, allocations: 8.25 kB / 0.9634 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01492, allocations: 4 kB / 0.9635 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01494, allocations: 7.938 kB / 0.9635 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01508, allocations: 63.89 kB / 0.9635 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.01509, allocations: 4 kB / 0.9635 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.487e-05/0.01519, allocations: 31.83 kB / 0.9636 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.0152, allocations: 12 kB / 0.9636 GB, free: 5.77 MB / 0.9167 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.0001333/0.01534, allocations: 182.7 kB / 0.9637 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.01538, allocations: 47.67 kB / 0.9638 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.01544, allocations: 52.09 kB / 0.9638 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.01545, allocations: 4 kB / 0.9638 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01545, allocations: 0 / 0.9638 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01546, allocations: 0 / 0.9638 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.01575, allocations: 368.4 kB / 0.9642 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01575, allocations: 0 / 0.9642 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.01588, allocations: 47.91 kB / 0.9642 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01588, allocations: 0 / 0.9642 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.0159, allocations: 11.98 kB / 0.9642 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.0159, allocations: 4 kB / 0.9643 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0159, allocations: 0 / 0.9643 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.01645, allocations: 498.9 kB / 0.9647 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.01654, allocations: 71.61 kB / 0.9648 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.01656, allocations: 8 kB / 0.9648 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.01666, allocations: 20.05 kB / 0.9648 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.0167, allocations: 11.97 kB / 0.9648 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01671, allocations: 15.92 kB / 0.9648 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002071/0.01692, allocations: 295.1 kB / 0.9651 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01692, allocations: 0 / 0.9651 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002231/0.01714, allocations: 63.83 kB / 0.9652 GB, free: 4.035 MB / 0.9167 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.0008841/0.01803, allocations: 1.054 MB / 0.9662 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.01837, allocations: 232.8 kB / 0.9664 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01837, allocations: 4 kB / 0.9664 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01851, allocations: 111.9 kB / 0.9666 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.01893, allocations: 125.9 kB / 0.9667 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.02203, allocations: 3.534 MB / 0.9701 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.02216, allocations: 216.3 kB / 0.9703 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.02229, allocations: 59.19 kB / 0.9704 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.02244, allocations: 152.4 kB / 0.9705 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of SimCode: time 9.92e-07/0.02244, allocations: 0 / 0.9705 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.0463, allocations: 9.106 MB / 0.9794 GB, free: 5.555 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.13, allocations: 6.812 kB / 0.9794 GB, free: 5.551 MB / 0.9323 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.024254573509097]