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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001533, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001631/0.001631, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.517/1.517, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.289/2.289, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 69.64 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3696, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005062/0.3748, allocations: 3.123 MB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3768, allocations: 1.099 MB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.3771, allocations: 19.88 kB / 0.9544 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.3774, allocations: 87.06 kB / 0.9545 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3777, allocations: 107 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.3784, allocations: 327.4 kB / 0.9549 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006032/0.379, allocations: 0.6442 MB / 0.9555 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.3794, allocations: 245.9 kB / 0.9558 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.3796, allocations: 219 kB / 0.956 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.3799, allocations: 210.8 kB / 0.9562 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.38, allocations: 55.94 kB / 0.9562 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.57e-05/0.38, allocations: 52 kB / 0.9563 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.3801, allocations: 107.6 kB / 0.9564 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.3803, allocations: 246.5 kB / 0.9566 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.3809, allocations: 0.6582 MB / 0.9573 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.381, allocations: 4 kB / 0.9573 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.162e-06/0.381, allocations: 0 / 0.9573 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.381, allocations: 0 / 0.9573 GB, free: 1.664 MB / 0.7325 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.001266/0.3822, allocations: 0.8176 MB / 0.9581 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3823, allocations: 15.97 kB / 0.9581 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3824, allocations: 56.28 kB / 0.9581 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.3832, allocations: 0.4983 MB / 0.9586 GB, free: 192 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3832, allocations: 21.03 kB / 0.9587 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.3833, allocations: 28.38 kB / 0.9587 GB, free: 144 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.3839, allocations: 379.1 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.384, allocations: 4 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.384, allocations: 8 kB / 0.9591 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.384, allocations: 8 kB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.3846, allocations: 254 kB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.3862, allocations: 1.44 MB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.3869, allocations: 270.9 kB / 0.961 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.3872, allocations: 132.8 kB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3872, allocations: 8 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3872, allocations: 38.56 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.3872, allocations: 0 / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008942/0.3881, allocations: 363.5 kB / 0.9615 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3882, allocations: 59.41 kB / 0.9615 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.3886, allocations: 413.9 kB / 0.9619 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.3887, allocations: 25.7 kB / 0.962 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3889, allocations: 260.1 kB / 0.9622 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.3889, allocations: 78.84 kB / 0.9623 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.389, allocations: 61.88 kB / 0.9623 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3892, allocations: 358.7 kB / 0.9627 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.3894, allocations: 96.5 kB / 0.9628 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.3897, allocations: 164.7 kB / 0.9629 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.3902, allocations: 272.6 kB / 0.9632 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3902, allocations: 7.938 kB / 0.9632 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000642/0.3909, allocations: 332.9 kB / 0.9635 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3909, allocations: 6.344 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3909, allocations: 4 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.391, allocations: 4 kB / 0.9635 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.3912, allocations: 63.89 kB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3913, allocations: 4 kB / 0.9636 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3915, allocations: 35.92 kB / 0.9636 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.3915, allocations: 16 kB / 0.9636 GB, free: 10.81 MB / 0.7481 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.0002001/0.3917, allocations: 173.7 kB / 0.9638 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3918, allocations: 43.44 kB / 0.9639 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.3919, allocations: 47.97 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3919, allocations: 4 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3919, allocations: 0 / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3919, allocations: 7.922 kB / 0.9639 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.3924, allocations: 437.2 kB / 0.9643 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3924, allocations: 4 kB / 0.9643 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3926, allocations: 47.91 kB / 0.9644 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3927, allocations: 0 / 0.9644 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.3927, allocations: 8 kB / 0.9644 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3927, allocations: 3.984 kB / 0.9644 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3927, allocations: 0 / 0.9644 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.3936, allocations: 0.4967 MB / 0.9649 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3938, allocations: 132.6 kB / 0.965 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.3938, allocations: 8 kB / 0.965 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.394, allocations: 11.98 kB / 0.965 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.3941, allocations: 23.97 kB / 0.965 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3941, allocations: 12 kB / 0.9651 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002957/0.3944, allocations: 291.1 kB / 0.9653 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 0 / 0.9653 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003123/0.3947, allocations: 67.75 kB / 0.9654 GB, free: 8.926 MB / 0.7481 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.0001215/0.3948, allocations: 103.2 kB / 0.9655 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.3955, allocations: 259.7 kB / 0.9657 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3955, allocations: 0 / 0.9657 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.3958, allocations: 119.8 kB / 0.9659 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.3965, allocations: 130.4 kB / 0.966 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3978, allocations: 0.7514 MB / 0.9667 GB, free: 7.535 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3982, allocations: 0.827 MB / 0.9675 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.3983, allocations: 35.42 kB / 0.9676 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of SimCode: time 1.8e-07/0.3983, allocations: 0 / 0.9676 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of Templates: time 0.008381/0.4067, allocations: 5.329 MB / 0.9728 GB, free: 1.355 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (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 & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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