Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 109.1 kB / 16.42 MB, free: 6.488 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.00143/0.00143, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9074, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.0029/0.9103, allocations: 1.438 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.9118, allocations: 1.092 MB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.9119, allocations: 8.406 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.8e-05/0.912, allocations: 35.11 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.9122, allocations: 47.98 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.9125, allocations: 118.6 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.9129, allocations: 337.4 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.9133, allocations: 208.1 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.9135, allocations: 136.1 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.9137, allocations: 146 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.9138, allocations: 37.66 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.9139, allocations: 38.22 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.9139, allocations: 77.64 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.9141, allocations: 156.6 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.9147, allocations: 474.7 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.9147, allocations: 4 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9147, allocations: 0.8125 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.9147, allocations: 0 / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008424/0.9156, allocations: 0.5776 MB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.9156, allocations: 9.484 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.04e-05/0.9157, allocations: 41.59 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.9162, allocations: 330.3 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.9163, allocations: 27.16 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.9163, allocations: 32.84 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.917, allocations: 285.6 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.917, allocations: 0.8125 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.917, allocations: 10.53 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.9171, allocations: 7.781 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.9177, allocations: 235 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.919, allocations: 0.7981 MB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.9195, allocations: 228.7 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.9198, allocations: 111.8 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.9199, allocations: 15.08 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.9199, allocations: 32.97 kB / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.9199, allocations: 0 / 1.096 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.000847/0.9208, allocations: 305 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.9208, allocations: 54.67 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.921, allocations: 204.9 kB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.921, allocations: 30.52 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.9212, allocations: 179 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.9212, allocations: 78.86 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.9213, allocations: 63.27 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.9214, allocations: 338.4 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.9217, allocations: 74.86 kB / 1.097 GB, free: 40 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.922, allocations: 142.4 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005672/0.9226, allocations: 212.7 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9226, allocations: 4.875 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006414/0.9232, allocations: 267.5 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9232, allocations: 6.406 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.9233, allocations: 2.734 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.9233, allocations: 11.94 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.9236, allocations: 51.44 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.251e-05/0.9236, allocations: 3.781 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.9238, allocations: 36.31 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.9238, allocations: 13.44 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * 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.000193/0.924, allocations: 155.8 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.9241, allocations: 21.53 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.9247, allocations: 246.9 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.9248, allocations: 6.734 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.9248, allocations: 4 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.9248, allocations: 100.1 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.9249, allocations: 5.922 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.925, allocations: 16.36 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9251, allocations: 27.52 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006488/0.9258, allocations: 314.8 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006224/0.9264, allocations: 409.7 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002491/0.9267, allocations: 100.8 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001353/0.9268, allocations: 135.7 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of Backend: time 4.21e-07/0.9268, allocations: 1.031 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007943/0.9276, allocations: 219.3 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001174/0.9288, allocations: 0.8516 MB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.007256/0.9361, allocations: 2.201 MB / 1.102 GB, free: 13.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches