Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.141/3.141, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 69.55 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002769/0.3283, allocations: 1.07 MB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3298, allocations: 1.057 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.3299, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.451e-05/0.33, allocations: 23.67 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3301, allocations: 35.72 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3304, allocations: 87.84 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.3307, allocations: 228.2 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.331, allocations: 96.58 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.3312, allocations: 95.66 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3313, allocations: 91.41 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.3314, allocations: 24 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.3314, allocations: 31.98 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.3315, allocations: 51.84 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.3316, allocations: 83.59 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.332, allocations: 310.6 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.332, allocations: 0 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.332, allocations: 0 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.332, allocations: 4 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007592/0.3328, allocations: 429.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3328, allocations: 12.02 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.333, allocations: 36.75 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.3334, allocations: 221.1 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.3335, allocations: 16.81 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.3335, allocations: 20.38 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.334, allocations: 199.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.334, allocations: 192 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.334, allocations: 11.94 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.334, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.3344, allocations: 157.6 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.3352, allocations: 479.2 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.3356, allocations: 161.5 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.3358, allocations: 64.73 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3358, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3358, allocations: 38.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 9.81e-07/0.3358, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006295/0.3365, allocations: 219.5 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3365, allocations: 63.25 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3367, allocations: 179.5 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3367, allocations: 29.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3368, allocations: 144.5 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.3369, allocations: 43.53 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.337, allocations: 57.69 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3371, allocations: 322.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.3373, allocations: 59.95 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3375, allocations: 99.36 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.3379, allocations: 145 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3379, allocations: 0 / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004445/0.3383, allocations: 203.4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3383, allocations: 8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3383, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3383, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.3385, allocations: 35.91 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3385, allocations: 160 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3387, allocations: 27.88 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3387, allocations: 12 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (22): * Single equations (assignments): 22 * 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.0001827/0.3389, allocations: 130.4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.3389, allocations: 19.84 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.3389, allocations: 21.81 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.339, allocations: 3.938 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.339, allocations: 3.984 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.339, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3392, allocations: 189.2 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3392, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.3394, allocations: 19.98 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3394, allocations: 3.938 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3394, allocations: 7.984 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3394, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3394, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3398, allocations: 268.8 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/0.3399, allocations: 15.84 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3399, allocations: 11.94 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.34, allocations: 11.98 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.3401, allocations: 19.97 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3401, allocations: 11.98 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.756e-05/0.3402, allocations: 119.5 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002874/0.3405, allocations: 43.89 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001229/0.3406, allocations: 107.2 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.3411, allocations: 143.8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3411, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.3412, allocations: 69.77 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3416, allocations: 24.25 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.3423, allocations: 386.5 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3424, allocations: 125.2 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.3425, allocations: 23.44 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3425, allocations: 0 / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of Templates: time 0.004356/0.3468, allocations: 2.232 MB / 1.337 GB, free: 6.898 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.836414182092994]