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: 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.006143/0.006143, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.001359/0.001359, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.701/2.701, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3772, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004405/0.3817, allocations: 3.108 MB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00207/0.3838, allocations: 1.107 MB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.3841, allocations: 15.94 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.3844, allocations: 91 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3846, allocations: 111 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.3854, allocations: 330.9 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.386, allocations: 0.6402 MB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.3863, allocations: 249.8 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3866, allocations: 219 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.3868, allocations: 214.8 kB / 1.173 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.891e-05/0.3869, allocations: 52 kB / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.387, allocations: 52 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.3871, allocations: 107.6 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3873, allocations: 246.5 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.388, allocations: 0.6808 MB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.388, allocations: 0 / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/0.388, allocations: 0 / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.388, allocations: 4 kB / 1.174 GB, free: 15.61 MB / 0.9356 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.001306/0.3893, allocations: 0.8445 MB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3894, allocations: 8.031 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.3895, allocations: 60.56 kB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.3904, allocations: 0.5182 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3904, allocations: 17.03 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.3904, allocations: 36.33 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.3911, allocations: 375.1 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3911, allocations: 3.938 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.3912, allocations: 16 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3912, allocations: 8 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.3918, allocations: 250 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.3933, allocations: 1.433 MB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.394, allocations: 266.8 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.3943, allocations: 134.8 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3943, allocations: 7.984 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3944, allocations: 34.56 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3944, allocations: 4 kB / 1.178 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008851/0.3953, allocations: 362.7 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.3953, allocations: 55.41 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.3958, allocations: 417.9 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3958, allocations: 33.7 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.396, allocations: 264.4 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.3961, allocations: 79.33 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.3962, allocations: 49.98 kB / 1.179 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3963, allocations: 358.7 kB / 1.179 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3965, allocations: 92.52 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.3968, allocations: 168.7 kB / 1.179 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.3974, allocations: 269.5 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3974, allocations: 0 / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006551/0.398, allocations: 343.2 kB / 1.18 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3981, allocations: 8.25 kB / 1.18 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3981, allocations: 7.938 kB / 1.18 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3981, allocations: 3.984 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.3984, allocations: 59.91 kB / 1.18 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3984, allocations: 7.938 kB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3986, allocations: 39.7 kB / 1.18 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3986, allocations: 15.98 kB / 1.18 GB, free: 8.719 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.0001847/0.3988, allocations: 169.8 kB / 1.18 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.3989, allocations: 47.72 kB / 1.18 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.714e-05/0.399, allocations: 43.98 kB / 1.18 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.399, allocations: 7.938 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.399, allocations: 3.984 kB / 1.18 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.399, allocations: 3.938 kB / 1.18 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.3995, allocations: 433.2 kB / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3995, allocations: 0 / 1.181 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3998, allocations: 55.89 kB / 1.181 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3998, allocations: 4 kB / 1.181 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.3998, allocations: 4 kB / 1.181 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3998, allocations: 4 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3998, allocations: 0 / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.4007, allocations: 0.4956 MB / 1.181 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.4009, allocations: 144.7 kB / 1.181 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.4009, allocations: 4 kB / 1.181 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.4011, allocations: 15.98 kB / 1.181 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.4012, allocations: 19.84 kB / 1.181 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4012, allocations: 11.92 kB / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002934/0.4015, allocations: 287.2 kB / 1.182 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4015, allocations: 0 / 1.182 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003208/0.4019, allocations: 71.94 kB / 1.182 GB, free: 6.824 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.0001266/0.402, allocations: 103.2 kB / 1.182 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.4026, allocations: 235.3 kB / 1.182 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4026, allocations: 4 kB / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.4029, allocations: 123.9 kB / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.4035, allocations: 120.3 kB / 1.182 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.4049, allocations: 0.7581 MB / 1.183 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.4053, allocations: 0.8155 MB / 1.184 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.4055, allocations: 55.23 kB / 1.184 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.4056, allocations: 43.36 kB / 1.184 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.4056, allocations: 0 / 1.184 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.008671/0.4142, allocations: 3.844 MB / 1.188 GB, free: 0.7422 MB / 0.9356 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 -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/jenkins/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