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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001364/0.001364, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.831/2.831, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/0.887, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005296/0.8923, allocations: 3.139 MB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.8948, allocations: 1.056 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.8952, allocations: 23.88 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.8956, allocations: 75.38 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.8959, allocations: 79.36 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.8967, allocations: 326.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/0.8974, allocations: 0.5778 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005181/0.8979, allocations: 245.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.8983, allocations: 179 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.8986, allocations: 190.8 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.8987, allocations: 23.94 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.85e-05/0.8988, allocations: 20 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.8989, allocations: 75.56 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.8991, allocations: 202.7 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.8998, allocations: 0.6363 MB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.8998, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8998, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.8998, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 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.001545/0.9013, allocations: 0.8137 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.9014, allocations: 8.031 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.9015, allocations: 60.28 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/0.9025, allocations: 0.5022 MB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.9025, allocations: 21.03 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.9026, allocations: 28.38 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007699/0.9033, allocations: 371.1 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.9034, allocations: 0 / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.9034, allocations: 12 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.9034, allocations: 8 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.9041, allocations: 258 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.9061, allocations: 1.44 MB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.9069, allocations: 268.8 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.9072, allocations: 142.6 kB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.9072, allocations: 4 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.9073, allocations: 42.5 kB / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.9073, allocations: 0 / 1.027 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0009539/0.9082, allocations: 354.6 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.9083, allocations: 63.34 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.9088, allocations: 417.9 kB / 1.028 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.9089, allocations: 25.7 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.9092, allocations: 264 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.9092, allocations: 74.91 kB / 1.028 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.9094, allocations: 61.83 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9096, allocations: 358.7 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.9098, allocations: 96.52 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.9102, allocations: 168.7 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.9107, allocations: 273.2 kB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.9108, allocations: 0 / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000724/0.9115, allocations: 336.9 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9115, allocations: 7.984 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9115, allocations: 4 kB / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.9116, allocations: 0 / 1.03 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.9119, allocations: 63.91 kB / 1.03 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9119, allocations: 7.938 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.9121, allocations: 39.61 kB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.9121, allocations: 16.14 kB / 1.03 GB, free: 5.059 MB / 0.7794 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.0002349/0.9124, allocations: 169.8 kB / 1.03 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.9125, allocations: 47.44 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.9126, allocations: 47.97 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.9126, allocations: 4 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.9126, allocations: 0 / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.9126, allocations: 3.938 kB / 1.03 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.9132, allocations: 433.2 kB / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9132, allocations: 0 / 1.03 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.9135, allocations: 51.95 kB / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9135, allocations: 0 / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.9135, allocations: 4 kB / 1.03 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.9135, allocations: 4 kB / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9136, allocations: 0 / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.9146, allocations: 0.5069 MB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.9147, allocations: 140.4 kB / 1.031 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.9148, allocations: 4 kB / 1.031 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.915, allocations: 15.98 kB / 1.031 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.915, allocations: 15.98 kB / 1.031 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.9151, allocations: 11.92 kB / 1.031 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003554/0.9154, allocations: 291.2 kB / 1.031 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9154, allocations: 0 / 1.031 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003341/0.9158, allocations: 63.84 kB / 1.031 GB, free: 3.18 MB / 0.7794 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.0001472/0.9159, allocations: 107.7 kB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006405/0.9166, allocations: 246 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.9166, allocations: 4 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.9169, allocations: 111.9 kB / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.9177, allocations: 113.9 kB / 1.032 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.9193, allocations: 0.9037 MB / 1.033 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.9198, allocations: 0.8194 MB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002231/0.9201, allocations: 51.25 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.102e-05/0.9202, allocations: 35.42 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.9202, allocations: 4 kB / 1.034 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of Templates: time 0.009476/0.9297, allocations: 3.573 MB / 1.037 GB, free: 13.23 MB / 0.795 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=400 -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