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.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.581/1.581, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.479/2.479, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.00161, allocations: 63.84 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9206, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002669/0.9233, allocations: 1.418 MB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.9247, allocations: 1.096 MB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.9248, allocations: 3.844 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.9249, allocations: 36.88 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.9251, allocations: 42.25 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.9253, allocations: 120.1 kB / 0.9523 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.9256, allocations: 332.1 kB / 0.9526 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.926, allocations: 212 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.9262, allocations: 133.2 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.9263, allocations: 149.4 kB / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.9264, allocations: 37.5 kB / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.9265, allocations: 42.38 kB / 0.9532 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.9265, allocations: 85.64 kB / 0.9532 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.9267, allocations: 148 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.9271, allocations: 462.7 kB / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9271, allocations: 0 / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9271, allocations: 0 / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.9271, allocations: 0 / 0.9538 GB, free: 5.84 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0007838/0.9279, allocations: 0.576 MB / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.9279, allocations: 9.062 kB / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.928, allocations: 41.84 kB / 0.9544 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.9285, allocations: 325.2 kB / 0.9547 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.9286, allocations: 27.88 kB / 0.9548 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.9287, allocations: 29.25 kB / 0.9548 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.9292, allocations: 282.9 kB / 0.9551 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9292, allocations: 1.281 kB / 0.9551 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.9293, allocations: 18.97 kB / 0.9551 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.9293, allocations: 11.25 kB / 0.9551 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.9298, allocations: 232.5 kB / 0.9553 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.9308, allocations: 0.8114 MB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.9313, allocations: 233.4 kB / 0.9563 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.9315, allocations: 106.1 kB / 0.9564 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.483e-05/0.9315, allocations: 6.344 kB / 0.9564 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.9316, allocations: 40.17 kB / 0.9565 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.9316, allocations: 0 / 0.9565 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007168/0.9323, allocations: 303.9 kB / 0.9568 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.9323, allocations: 57.69 kB / 0.9568 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.9325, allocations: 212.4 kB / 0.957 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.9325, allocations: 29.7 kB / 0.9571 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.9326, allocations: 183.7 kB / 0.9572 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.9327, allocations: 77.36 kB / 0.9573 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.9328, allocations: 62.88 kB / 0.9574 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.9328, allocations: 331.2 kB / 0.9577 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.933, allocations: 77.14 kB / 0.9578 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.9332, allocations: 138.3 kB / 0.9579 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.9337, allocations: 212.8 kB / 0.9581 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9337, allocations: 0 / 0.9581 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005292/0.9342, allocations: 281.4 kB / 0.9584 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9342, allocations: 5.5 kB / 0.9584 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.9342, allocations: 5.312 kB / 0.9584 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.9343, allocations: 4.125 kB / 0.9584 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.9345, allocations: 51.47 kB / 0.9584 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.9346, allocations: 10.94 kB / 0.9584 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.9347, allocations: 24.78 kB / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.9347, allocations: 20.86 kB / 0.9585 GB, free: 2.23 MB / 0.7169 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.0001446/0.9349, allocations: 151.9 kB / 0.9586 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.9349, allocations: 21.41 kB / 0.9586 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.9355, allocations: 251.5 kB / 0.9589 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.9356, allocations: 7.219 kB / 0.9589 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.9356, allocations: 4.859 kB / 0.9589 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9356, allocations: 0 / 0.9589 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.936, allocations: 347.1 kB / 0.9592 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.936, allocations: 0.6562 kB / 0.9592 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.9362, allocations: 37.19 kB / 0.9593 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.9362, allocations: 1.156 kB / 0.9593 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.9363, allocations: 9.594 kB / 0.9593 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9363, allocations: 5.047 kB / 0.9593 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9363, allocations: 1.125 kB / 0.9593 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.9368, allocations: 328.8 kB / 0.9596 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.9368, allocations: 91.45 kB / 0.9597 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.9369, allocations: 5.031 kB / 0.9597 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.937, allocations: 13.61 kB / 0.9597 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.9371, allocations: 27.22 kB / 0.9597 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.9371, allocations: 12.45 kB / 0.9597 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.198e-05/0.9372, allocations: 133.1 kB / 0.9599 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9372, allocations: 0 / 0.9599 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000322/0.9375, allocations: 61.19 kB / 0.9599 GB, free: 1.102 MB / 0.7169 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.0001467/0.9377, allocations: 119.6 kB / 0.96 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.9383, allocations: 231.8 kB / 0.9602 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9383, allocations: 0.8125 kB / 0.9602 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.9385, allocations: 107.7 kB / 0.9604 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.9389, allocations: 29.11 kB / 0.9604 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.9399, allocations: 478.3 kB / 0.9608 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.9401, allocations: 0.7625 MB / 0.9616 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.9403, allocations: 33 kB / 0.9616 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.9404, allocations: 31.64 kB / 0.9616 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.9404, allocations: 1.031 kB / 0.9616 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.00585/0.9462, allocations: 1.856 MB / 0.9635 GB, free: 14.84 MB / 0.7325 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/jenkins/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