Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006964/0.006964, allocations: 103.7 kB / 15.74 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 196.5 kB / 16.67 MB, free: 6.352 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 67.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3476, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00551/0.3531, allocations: 3.116 MB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3557, allocations: 1.087 MB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.3562, allocations: 23.81 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.3566, allocations: 91.12 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.3571, allocations: 103 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.358, allocations: 342.6 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009553/0.359, allocations: 0.6402 MB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.3595, allocations: 250.1 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.3599, allocations: 219 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.3603, allocations: 214.8 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3604, allocations: 52 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-05/0.3605, allocations: 52 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3606, allocations: 107.6 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.3609, allocations: 242.6 kB / 1.173 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008399/0.3617, allocations: 0.6886 MB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3617, allocations: 4 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3617, allocations: 0 / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.3618, allocations: 0 / 1.173 GB, free: 120 kB / 0.92 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.001642/0.3634, allocations: 0.8369 MB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3635, allocations: 12.03 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.3636, allocations: 66.72 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3637, allocations: 64.56 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.3647, allocations: 0.5104 MB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3648, allocations: 21.03 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.3648, allocations: 36.33 kB / 1.175 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.3656, allocations: 371 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3656, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.3657, allocations: 16 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.3657, allocations: 11.88 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006317/0.3663, allocations: 254 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.3682, allocations: 1.425 MB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.369, allocations: 276.8 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.3693, allocations: 132.8 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.3694, allocations: 4 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.3694, allocations: 34.56 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.3694, allocations: 4 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0009689/0.3704, allocations: 367.9 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3704, allocations: 51.41 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.371, allocations: 421.8 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.371, allocations: 33.7 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.3713, allocations: 260.4 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.3713, allocations: 83.33 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3714, allocations: 49.98 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.3716, allocations: 354.8 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3719, allocations: 92.52 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.3722, allocations: 168.7 kB / 1.179 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.3728, allocations: 270.2 kB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3728, allocations: 0 / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007382/0.3736, allocations: 342.9 kB / 1.18 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3736, allocations: 12.23 kB / 1.18 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.3736, allocations: 4 kB / 1.18 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3736, allocations: 4 kB / 1.18 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.3739, allocations: 59.91 kB / 1.18 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.374, allocations: 11.92 kB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3742, allocations: 31.72 kB / 1.18 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.3742, allocations: 19.98 kB / 1.18 GB, free: 9.152 MB / 0.9356 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.0002004/0.3744, allocations: 169.8 kB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.3745, allocations: 47.72 kB / 1.18 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3746, allocations: 47.97 kB / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3746, allocations: 0 / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3746, allocations: 4 kB / 1.18 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3746, allocations: 7.922 kB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.3752, allocations: 441.2 kB / 1.18 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3752, allocations: 0 / 1.18 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.3755, allocations: 47.95 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.3755, allocations: 4 kB / 1.18 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3755, allocations: 8 kB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3755, allocations: 0 / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3755, allocations: 3.938 kB / 1.18 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.3765, allocations: 0.498 MB / 1.181 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3767, allocations: 148.7 kB / 1.181 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.3767, allocations: 4 kB / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.3769, allocations: 11.98 kB / 1.181 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.377, allocations: 19.78 kB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.377, allocations: 11.98 kB / 1.181 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003692/0.3774, allocations: 291.1 kB / 1.181 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3774, allocations: 0 / 1.181 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003368/0.3778, allocations: 67.95 kB / 1.181 GB, free: 7.254 MB / 0.9356 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.001325/0.3791, allocations: 1.04 MB / 1.182 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.3797, allocations: 237.2 kB / 1.183 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3797, allocations: 0.5625 kB / 1.183 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.38, allocations: 133.7 kB / 1.183 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.3807, allocations: 123.5 kB / 1.183 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/0.3862, allocations: 3.511 MB / 1.186 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.3868, allocations: 0.8194 MB / 1.187 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.387, allocations: 55.23 kB / 1.187 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.3872, allocations: 147.4 kB / 1.187 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.3872, allocations: 0 / 1.187 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03702/0.4243, allocations: 8.016 MB / 1.195 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.44, allocations: 3.875 kB / 1.195 GB, free: 9.211 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches