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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001082/0.001083, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001057/0.001057, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 56.59 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3779, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004526/0.3825, allocations: 3.117 MB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3845, allocations: 1.091 MB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002706/0.3848, allocations: 23.81 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3851, allocations: 87.12 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.3854, allocations: 107 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.3861, allocations: 337.2 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.3867, allocations: 0.648 MB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.3871, allocations: 245.9 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.3873, allocations: 223.1 kB / 1.025 GB, free: 3.965 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3875, allocations: 210.8 kB / 1.025 GB, free: 3.758 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.3876, allocations: 52 kB / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-05/0.3877, allocations: 52 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.3878, allocations: 107.6 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.388, allocations: 242.6 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005852/0.3886, allocations: 0.6734 MB / 1.026 GB, free: 2.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3886, allocations: 7.922 kB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3886, allocations: 4 kB / 1.026 GB, free: 2.625 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.3886, allocations: 0 / 1.026 GB, free: 2.625 MB / 0.795 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.001271/0.3899, allocations: 0.8238 MB / 1.027 GB, free: 1.754 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3899, allocations: 8.922 kB / 1.027 GB, free: 1.746 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.39, allocations: 56.28 kB / 1.027 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/0.3909, allocations: 0.51 MB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.391, allocations: 21.03 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.391, allocations: 36.22 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.3916, allocations: 375.1 kB / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3917, allocations: 0 / 1.028 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.3917, allocations: 12 kB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3917, allocations: 4 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.3923, allocations: 262 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3938, allocations: 1.417 MB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.3945, allocations: 278.6 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.3948, allocations: 136.8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.3948, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3949, allocations: 38.56 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.804e-06/0.3949, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.000851/0.3957, allocations: 355.6 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3958, allocations: 51.41 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.3962, allocations: 425.9 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3963, allocations: 25.7 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3964, allocations: 256.1 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.3965, allocations: 86.78 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.163e-05/0.3966, allocations: 61.83 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3968, allocations: 358.7 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.397, allocations: 88.52 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.3973, allocations: 169.3 kB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.3978, allocations: 274.5 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3978, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006185/0.3984, allocations: 329.1 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3984, allocations: 11.98 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3985, allocations: 0 / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3985, allocations: 4 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.3988, allocations: 63.91 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3988, allocations: 11.97 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.399, allocations: 27.69 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.399, allocations: 19.98 kB / 1.032 GB, free: 11.78 MB / 0.8106 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.0001847/0.3992, allocations: 173.8 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.3993, allocations: 43.44 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.3994, allocations: 47.97 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3994, allocations: 3.938 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3994, allocations: 8 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3994, allocations: 11.86 kB / 1.032 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3999, allocations: 433.2 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3999, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.4002, allocations: 47.95 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4002, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.4002, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4002, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.4002, allocations: 4 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.4011, allocations: 0.5063 MB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.4013, allocations: 140.5 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.4013, allocations: 4 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.4015, allocations: 15.98 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.4016, allocations: 15.98 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4016, allocations: 11.92 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002967/0.4019, allocations: 287.1 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4019, allocations: 4.062 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003274/0.4022, allocations: 63.84 kB / 1.034 GB, free: 9.887 MB / 0.8106 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.0001229/0.4024, allocations: 111.1 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005617/0.4029, allocations: 240.2 kB / 1.034 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.403, allocations: 0 / 1.034 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.4032, allocations: 115.9 kB / 1.034 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/0.4039, allocations: 136.7 kB / 1.035 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4052, allocations: 0.7225 MB / 1.035 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.4056, allocations: 0.8155 MB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.4058, allocations: 47.25 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.4059, allocations: 35.42 kB / 1.036 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.4059, allocations: 7.938 kB / 1.036 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of Templates: time 0.008217/0.4141, allocations: 3.8 MB / 1.04 GB, free: 3.887 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (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 & ./Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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.mat","/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