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.001069/0.001069, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007943/0.007943, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.737/2.737, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 8 kB / 0.8728 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8009, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003917/0.8049, allocations: 2.75 MB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.8073, allocations: 1.056 MB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.808, allocations: 11.94 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.8084, allocations: 67.39 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.809, allocations: 87.36 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009771/0.81, allocations: 306.6 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000902/0.8109, allocations: 0.5894 MB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.8114, allocations: 237.9 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004052/0.8118, allocations: 162.9 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.8122, allocations: 154.9 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.8123, allocations: 12 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.8123, allocations: 8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.8124, allocations: 55.64 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.8127, allocations: 216.3 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.8133, allocations: 0.6128 MB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8133, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8133, allocations: 4 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.857e-05/0.8134, allocations: 0 / 1.029 GB, free: 9.496 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.001576/0.8149, allocations: 0.736 MB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.815, allocations: 12.03 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.8152, allocations: 72.11 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.8162, allocations: 0.5022 MB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.8162, allocations: 21.03 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.8163, allocations: 32.38 kB / 1.031 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.8171, allocations: 379.1 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.8171, allocations: 4 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.8172, allocations: 8 kB / 1.031 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.8172, allocations: 8 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.8179, allocations: 270 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.8198, allocations: 1.444 MB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.8206, allocations: 266.8 kB / 1.033 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.8209, allocations: 140.8 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.821, allocations: 4 kB / 1.033 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.821, allocations: 46.48 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.044e-06/0.821, allocations: 0 / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0009339/0.822, allocations: 374.7 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.822, allocations: 51.41 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.8225, allocations: 418 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.8226, allocations: 29.7 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.8228, allocations: 264 kB / 1.034 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.8228, allocations: 74.81 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.8229, allocations: 37.7 kB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8231, allocations: 350.7 kB / 1.035 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.8234, allocations: 104.5 kB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.8237, allocations: 172.7 kB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.8243, allocations: 290.2 kB / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8243, allocations: 0 / 1.035 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000733/0.825, allocations: 348.9 kB / 1.035 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.825, allocations: 8 kB / 1.035 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8251, allocations: 0 / 1.035 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8251, allocations: 4.25 kB / 1.035 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.8254, allocations: 71.89 kB / 1.035 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.8254, allocations: 4 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.8256, allocations: 43.61 kB / 1.036 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.8256, allocations: 8 kB / 1.036 GB, free: 2.648 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.0002093/0.8259, allocations: 172.1 kB / 1.036 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/0.826, allocations: 51.42 kB / 1.036 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.8261, allocations: 43.98 kB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.8261, allocations: 11.92 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8261, allocations: 0 / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.8261, allocations: 7.922 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.8266, allocations: 437.2 kB / 1.036 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.8266, allocations: 0 / 1.036 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.8269, allocations: 47.91 kB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.8269, allocations: 4 kB / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.827, allocations: 11.98 kB / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.827, allocations: 0 / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.827, allocations: 0 / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009669/0.8279, allocations: 0.5205 MB / 1.037 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.8281, allocations: 140.6 kB / 1.037 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.8282, allocations: 11.92 kB / 1.037 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.8284, allocations: 24.06 kB / 1.037 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.8284, allocations: 11.97 kB / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.8285, allocations: 11.94 kB / 1.037 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003282/0.8288, allocations: 287.1 kB / 1.037 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8288, allocations: 0 / 1.037 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003457/0.8292, allocations: 71.75 kB / 1.037 GB, free: 0.7227 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.0001462/0.8293, allocations: 113.4 kB / 1.037 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.8299, allocations: 248.3 kB / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.83, allocations: 4 kB / 1.038 GB, free: 364 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.8302, allocations: 128.8 kB / 1.038 GB, free: 236 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.831, allocations: 117.2 kB / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.8325, allocations: 0.9078 MB / 1.039 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.8329, allocations: 0.8197 MB / 1.04 GB, free: 14.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.8331, allocations: 47.25 kB / 1.04 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.8332, allocations: 39.36 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.8332, allocations: 0 / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of Templates: time 0.008228/0.8414, allocations: 3.548 MB / 1.043 GB, free: 10.77 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=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