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.001524/0.001524, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001722/0.001722, allocations: 212.9 kB / 23.04 MB, free: 4.844 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.003/3.003, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.001957/0.001957, allocations: 74.73 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 176.1 MB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002535/0.3165, allocations: 1.075 MB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3179, allocations: 1.053 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.318, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.203e-05/0.3181, allocations: 23.67 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3182, allocations: 39.66 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3185, allocations: 79.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.3187, allocations: 232.2 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.319, allocations: 88.59 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3192, allocations: 107.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3193, allocations: 83.55 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.3194, allocations: 28 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.3194, allocations: 28 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.3195, allocations: 51.84 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.316e-05/0.3196, allocations: 87.52 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.32, allocations: 318.6 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.32, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.32, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.32, allocations: 0 / 1.33 GB, free: 13.56 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.000754/0.3207, allocations: 423.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3208, allocations: 16.03 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.321, allocations: 40.73 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.3214, allocations: 216.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.3215, allocations: 20.81 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.3215, allocations: 20.38 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.3219, allocations: 199.8 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3219, allocations: 192 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.322, allocations: 15.94 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.322, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.3224, allocations: 157.6 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.3232, allocations: 483.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.3235, allocations: 146.6 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.3237, allocations: 68.72 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3237, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3238, allocations: 42.5 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.3238, allocations: 0 / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0006249/0.3244, allocations: 207.1 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.3245, allocations: 59.25 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3246, allocations: 183.4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3247, allocations: 33.7 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.3248, allocations: 140.4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.3248, allocations: 51.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.3249, allocations: 53.69 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.325, allocations: 326.8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3252, allocations: 55.95 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.3254, allocations: 106.5 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.3258, allocations: 142.4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3258, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004442/0.3262, allocations: 202.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3262, allocations: 4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3262, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3262, allocations: 7.984 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3264, allocations: 31.92 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3264, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3265, allocations: 23.88 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3266, allocations: 8 kB / 1.334 GB, free: 9.938 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.0001825/0.3267, allocations: 142.5 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.3268, allocations: 27.81 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.3268, allocations: 17.81 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3268, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3268, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3268, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.3271, allocations: 189.2 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3271, allocations: 0 / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.3272, allocations: 27.97 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3272, allocations: 7.875 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3272, allocations: 8 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3272, allocations: 0 / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3272, allocations: 0 / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.3277, allocations: 268.6 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.3277, allocations: 15.84 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3277, allocations: 11.88 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3279, allocations: 15.98 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.3279, allocations: 19.97 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3279, allocations: 8 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.941e-05/0.328, allocations: 119.5 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.328, allocations: 4 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002702/0.3283, allocations: 35.89 kB / 1.335 GB, free: 8.984 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.0001181/0.3284, allocations: 115.2 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.3288, allocations: 135.9 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3288, allocations: 0 / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.329, allocations: 77.45 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3293, allocations: 23.09 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.33, allocations: 382.8 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3301, allocations: 121.2 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.3302, allocations: 31.42 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of SimCode: time 5.82e-07/0.3302, allocations: 0 / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of Templates: time 0.004133/0.3343, allocations: 2.228 MB / 1.338 GB, free: 5.836 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.46608256897889]