Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_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_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.694/2.694, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 63.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 140.3 MB / 0.9497 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004593/1.117, allocations: 3.107 MB / 0.9528 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002156/1.12, allocations: 1.094 MB / 0.9538 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/1.12, allocations: 20.47 kB / 0.9539 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002928/1.12, allocations: 88.44 kB / 0.9539 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/1.12, allocations: 105.3 kB / 0.954 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007624/1.121, allocations: 342.9 kB / 0.9544 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005325/1.122, allocations: 0.627 MB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/1.122, allocations: 261.8 kB / 0.9552 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/1.122, allocations: 216.4 kB / 0.9554 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/1.123, allocations: 211 kB / 0.9556 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.494e-05/1.123, allocations: 53 kB / 0.9557 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/1.123, allocations: 52.34 kB / 0.9557 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/1.123, allocations: 112.1 kB / 0.9558 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/1.123, allocations: 245.6 kB / 0.9561 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/1.123, allocations: 0.6672 MB / 0.9567 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.123, allocations: 1.375 kB / 0.9567 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/1.123, allocations: 0 / 0.9567 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.123, allocations: 0 / 0.9567 GB, free: 3.77 MB / 0.7169 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.01017/1.134, allocations: 0.8153 MB / 0.9575 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/1.134, allocations: 12.81 kB / 0.9575 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/1.134, allocations: 65.38 kB / 0.9576 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/1.134, allocations: 55.53 kB / 0.9577 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/1.135, allocations: 0.5053 MB / 0.9582 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.135, allocations: 20.84 kB / 0.9582 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/1.135, allocations: 30.66 kB / 0.9582 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/1.135, allocations: 369.2 kB / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.136, allocations: 0.75 kB / 0.9586 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/1.136, allocations: 15.62 kB / 0.9586 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/1.136, allocations: 11.66 kB / 0.9586 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/1.136, allocations: 249.9 kB / 0.9588 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/1.138, allocations: 1.439 MB / 0.9602 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/1.139, allocations: 266.7 kB / 0.9605 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/1.139, allocations: 137.4 kB / 0.9606 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/1.139, allocations: 2.406 kB / 0.9606 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/1.139, allocations: 35.97 kB / 0.9606 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.904e-06/1.139, allocations: 0 / 0.9606 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0009419/1.14, allocations: 368.7 kB / 0.961 GB, free: 380 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/1.14, allocations: 53.72 kB / 0.961 GB, free: 316 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/1.14, allocations: 423.4 kB / 0.9615 GB, free: 40 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.14, allocations: 30.73 kB / 0.9615 GB, free: 4 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.01173/1.152, allocations: 262.7 kB / 0.9617 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/1.152, allocations: 75.77 kB / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.152, allocations: 54.17 kB / 0.9619 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.153, allocations: 356.3 kB / 0.9622 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/1.153, allocations: 92.89 kB / 0.9623 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/1.153, allocations: 166 kB / 0.9624 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/1.154, allocations: 267.6 kB / 0.9627 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.154, allocations: 7.938 kB / 0.9627 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008804/1.155, allocations: 335.2 kB / 0.963 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.155, allocations: 5.781 kB / 0.963 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.155, allocations: 10.61 kB / 0.963 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.155, allocations: 4.062 kB / 0.963 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/1.155, allocations: 57.56 kB / 0.9631 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.155, allocations: 7.25 kB / 0.9631 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/1.156, allocations: 39.64 kB / 0.9631 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/1.156, allocations: 16.36 kB / 0.9632 GB, free: 14.71 MB / 0.7325 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.0002736/1.156, allocations: 176.4 kB / 0.9633 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/1.156, allocations: 43.19 kB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/1.156, allocations: 50.59 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.156, allocations: 3.281 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.156, allocations: 4 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.156, allocations: 3.938 kB / 0.9634 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/1.17, allocations: 429.1 kB / 0.9638 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.17, allocations: 0 / 0.9638 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004618/1.171, allocations: 50.98 kB / 0.9639 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.171, allocations: 1.281 kB / 0.9639 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.171, allocations: 9.344 kB / 0.9639 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/1.171, allocations: 1.281 kB / 0.9639 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.171, allocations: 3.938 kB / 0.9639 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.172, allocations: 0.4999 MB / 0.9644 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/1.173, allocations: 137.1 kB / 0.9645 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/1.173, allocations: 5.75 kB / 0.9645 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/1.173, allocations: 11.17 kB / 0.9645 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/1.173, allocations: 18.02 kB / 0.9646 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/1.173, allocations: 8.703 kB / 0.9646 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004628/1.173, allocations: 291.2 kB / 0.9648 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.01e-07/1.173, allocations: 0 / 0.9648 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005002/1.174, allocations: 64.72 kB / 0.9649 GB, free: 13.4 MB / 0.7325 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.001525/1.175, allocations: 1.046 MB / 0.9659 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.191, allocations: 251.2 kB / 0.9662 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.191, allocations: 0 / 0.9662 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/1.191, allocations: 124.1 kB / 0.9663 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.192, allocations: 132.9 kB / 0.9664 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.215, allocations: 3.539 MB / 0.9699 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/1.216, allocations: 0.8264 MB / 0.9707 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003663/1.216, allocations: 47.03 kB / 0.9707 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/1.216, allocations: 152.9 kB / 0.9709 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of SimCode: time 1.473e-06/1.216, allocations: 0 / 0.9709 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/1.439, allocations: 7.896 MB / 0.9786 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.8, allocations: 23.67 kB / 0.9786 GB, free: 3.82 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches