Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001594/0.001594, allocations: 193.4 kB / 16.14 MB, free: 6.645 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.616/2.616, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9071/0.9083, allocations: 151.6 MB / 1.017 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002979/0.9113, allocations: 1.492 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.9127, allocations: 1.061 MB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.9129, allocations: 4 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.397e-05/0.913, allocations: 19.78 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.9132, allocations: 27.8 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.9134, allocations: 107.9 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.9137, allocations: 308.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.9141, allocations: 197.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.9143, allocations: 119.4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.9144, allocations: 139.2 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.9145, allocations: 20 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.335e-05/0.9145, allocations: 20 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.9146, allocations: 55.77 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.9147, allocations: 139.1 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.9151, allocations: 440.6 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9151, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9151, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.9151, allocations: 3.938 kB / 1.021 GB, free: 14.83 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0008874/0.916, allocations: 0.581 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9161, allocations: 8.031 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.9161, allocations: 40.47 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.9167, allocations: 329 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.9168, allocations: 25.03 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.9168, allocations: 28.38 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.9173, allocations: 286.6 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9174, allocations: 192 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.9174, allocations: 15.94 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.9174, allocations: 12 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005233/0.918, allocations: 234.5 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.9191, allocations: 0.8152 MB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.9196, allocations: 234.6 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.9198, allocations: 112.8 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.9199, allocations: 11.98 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.9199, allocations: 38.55 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.9199, allocations: 0 / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007282/0.9207, allocations: 295.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.9207, allocations: 59.34 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.9209, allocations: 204.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.9209, allocations: 33.7 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9211, allocations: 172.2 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.9211, allocations: 78.84 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.9212, allocations: 61.97 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9213, allocations: 338.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.9216, allocations: 76.52 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.9218, allocations: 143.8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.9222, allocations: 221.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9222, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005096/0.9228, allocations: 273.1 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.9228, allocations: 5.406 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.9228, allocations: 4 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9228, allocations: 4 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.9231, allocations: 51.84 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9231, allocations: 16.14 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.9232, allocations: 23.84 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.9233, allocations: 15.98 kB / 1.025 GB, free: 9.777 MB / 0.7794 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.0001448/0.9234, allocations: 150.3 kB / 1.025 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.9235, allocations: 23.72 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.924, allocations: 245.4 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.924, allocations: 11.88 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.924, allocations: 0 / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.924, allocations: 0 / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.9244, allocations: 341.3 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9244, allocations: 4 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.9246, allocations: 39.91 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9246, allocations: 0 / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.9246, allocations: 12 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.9246, allocations: 7.922 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9246, allocations: 0 / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.9251, allocations: 329.7 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.9252, allocations: 96.86 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.9252, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.9254, allocations: 27.83 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.9254, allocations: 31.95 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.9255, allocations: 8 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001003/0.9256, allocations: 136.5 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9256, allocations: 4 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002807/0.9259, allocations: 55.78 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001376/0.926, allocations: 111.2 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.9265, allocations: 213 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9265, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.9267, allocations: 115.8 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.9271, allocations: 28.42 kB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.928, allocations: 0.5839 MB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.9283, allocations: 0.7636 MB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.9284, allocations: 30.28 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.9285, allocations: 27.42 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9285, allocations: 0 / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of Templates: time 0.004691/0.9332, allocations: 1.696 MB / 1.03 GB, free: 4.621 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches