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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009539/0.0009539, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001015/0.001015, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 11.94 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5992/0.5995, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002533/0.6021, allocations: 2.615 MB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.6036, allocations: 1.001 MB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.6038, allocations: 14 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.349e-05/0.6039, allocations: 39.53 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.6044, allocations: 143.1 kB / 0.9573 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.6049, allocations: 264.4 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000479/0.6054, allocations: 388.4 kB / 0.9579 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.6056, allocations: 157.6 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.6058, allocations: 163 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.606, allocations: 157.6 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.6061, allocations: 10.66 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-05/0.6061, allocations: 14.06 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.6062, allocations: 51.56 kB / 0.9584 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.6062, allocations: 107.8 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.6066, allocations: 0.5096 MB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.6066, allocations: 1.312 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6066, allocations: 0 / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6066, allocations: 0 / 0.959 GB, free: 3.793 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.001056/0.6077, allocations: 0.7578 MB / 0.9597 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6077, allocations: 9.344 kB / 0.9598 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.6078, allocations: 58.61 kB / 0.9598 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.6085, allocations: 489.6 kB / 0.9603 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.6085, allocations: 25.03 kB / 0.9603 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.6086, allocations: 27.25 kB / 0.9603 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.6091, allocations: 377.4 kB / 0.9607 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6092, allocations: 5.312 kB / 0.9607 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.6092, allocations: 10.75 kB / 0.9607 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6092, allocations: 7.969 kB / 0.9607 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.6098, allocations: 274.8 kB / 0.961 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.6111, allocations: 1.425 MB / 0.9624 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.6118, allocations: 271.4 kB / 0.9626 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.6118, allocations: 2.875 kB / 0.9626 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.6119, allocations: 43.47 kB / 0.9627 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.6119, allocations: 0 / 0.9627 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0008562/0.6127, allocations: 380.4 kB / 0.963 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.6128, allocations: 53.38 kB / 0.9631 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.6132, allocations: 411.4 kB / 0.9635 GB, free: 280 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.6132, allocations: 26.83 kB / 0.9635 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.6133, allocations: 255 kB / 0.9637 GB, free: 16 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.6134, allocations: 87.78 kB / 0.9638 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.6134, allocations: 13.19 kB / 0.9638 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6136, allocations: 357.5 kB / 0.9642 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.6138, allocations: 96.92 kB / 0.9643 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.6141, allocations: 170.1 kB / 0.9644 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.6144, allocations: 118.2 kB / 0.9645 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6144, allocations: 1.188 kB / 0.9645 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000654/0.6151, allocations: 343.5 kB / 0.9649 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6151, allocations: 5.312 kB / 0.9649 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6151, allocations: 6.406 kB / 0.9649 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.6151, allocations: 11.56 kB / 0.9649 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.6154, allocations: 68.3 kB / 0.965 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.6154, allocations: 11.39 kB / 0.965 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.6157, allocations: 34.3 kB / 0.965 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.6157, allocations: 8.438 kB / 0.965 GB, free: 15.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.6159, allocations: 178.4 kB / 0.9652 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.616, allocations: 43.78 kB / 0.9652 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.6161, allocations: 51.78 kB / 0.9653 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.6161, allocations: 6.078 kB / 0.9653 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6161, allocations: 1.469 kB / 0.9653 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6161, allocations: 3.938 kB / 0.9653 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.6165, allocations: 436 kB / 0.9657 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6166, allocations: 1 kB / 0.9657 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.6168, allocations: 50.06 kB / 0.9658 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.6169, allocations: 0.8125 kB / 0.9658 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6169, allocations: 5.906 kB / 0.9658 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6169, allocations: 4.938 kB / 0.9658 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6169, allocations: 3.953 kB / 0.9658 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.6178, allocations: 0.5154 MB / 0.9663 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.618, allocations: 138.8 kB / 0.9664 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.618, allocations: 5.344 kB / 0.9664 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.6182, allocations: 16.92 kB / 0.9664 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.6183, allocations: 18.8 kB / 0.9664 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.6183, allocations: 8.125 kB / 0.9664 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003177/0.6186, allocations: 284.2 kB / 0.9667 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6187, allocations: 0 / 0.9667 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003489/0.619, allocations: 68.69 kB / 0.9668 GB, free: 13.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.6191, allocations: 122 kB / 0.9669 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00061/0.6197, allocations: 252.5 kB / 0.9671 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6198, allocations: 0 / 0.9671 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.62, allocations: 125.9 kB / 0.9673 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.6206, allocations: 108.9 kB / 0.9674 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.622, allocations: 0.859 MB / 0.9682 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.6224, allocations: 0.8341 MB / 0.969 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.6226, allocations: 51.25 kB / 0.9691 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.238e-05/0.6227, allocations: 28.72 kB / 0.9691 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6227, allocations: 0 / 0.9691 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.007488/0.6302, allocations: 3.428 MB / 0.9724 GB, free: 10.38 MB / 0.7325 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","../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches