Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 101.8 kB / 18.83 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002319/0.002319, allocations: 191.3 kB / 22.1 MB, free: 4.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 66.75 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4014, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002959/0.4044, allocations: 1.321 MB / 1.308 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.406, allocations: 1.084 MB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.4062, allocations: 11.94 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.4064, allocations: 35.61 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.4065, allocations: 43.59 kB / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.4068, allocations: 111.8 kB / 1.309 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.4072, allocations: 296.4 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.4075, allocations: 129.4 kB / 1.31 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4077, allocations: 119.6 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.4078, allocations: 127.4 kB / 1.31 GB, free: 14.58 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.4079, allocations: 32 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.981e-05/0.4079, allocations: 32 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.408, allocations: 71.7 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.4081, allocations: 139.3 kB / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.4086, allocations: 406.2 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4086, allocations: 4 kB / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4086, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.4086, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009181/0.4095, allocations: 489.6 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4096, allocations: 19.97 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.4096, allocations: 40.67 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.4103, allocations: 248 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.4103, allocations: 17.03 kB / 1.311 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.4103, allocations: 28.38 kB / 1.311 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.4108, allocations: 246.6 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4108, allocations: 192 / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.4109, allocations: 11.94 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4109, allocations: 8 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.4113, allocations: 182.5 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.4126, allocations: 0.6598 MB / 1.312 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.4131, allocations: 162.8 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.4133, allocations: 68.81 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.4133, allocations: 4 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.4133, allocations: 38.56 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.4133, allocations: 3.938 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.00072/0.4141, allocations: 231 kB / 1.313 GB, free: 11.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.4141, allocations: 59.39 kB / 1.313 GB, free: 11.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.4144, allocations: 211.7 kB / 1.313 GB, free: 11.06 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.4144, allocations: 29.7 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.4146, allocations: 172.7 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.4146, allocations: 51.58 kB / 1.313 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.4147, allocations: 61.92 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.4149, allocations: 330.8 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.4151, allocations: 68.42 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.4154, allocations: 120.4 kB / 1.314 GB, free: 10.19 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4158, allocations: 172.6 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4158, allocations: 0 / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005009/0.4163, allocations: 237.2 kB / 1.314 GB, free: 9.762 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4163, allocations: 8 kB / 1.314 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4163, allocations: 0 / 1.314 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.4163, allocations: 4 kB / 1.314 GB, free: 9.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.4165, allocations: 39.91 kB / 1.314 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4165, allocations: 0 / 1.314 GB, free: 9.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4167, allocations: 39.97 kB / 1.315 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.4167, allocations: 12 kB / 1.315 GB, free: 9.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0002028/0.4169, allocations: 145.7 kB / 1.315 GB, free: 9.508 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.417, allocations: 19.86 kB / 1.315 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.417, allocations: 25.8 kB / 1.315 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.417, allocations: 4 kB / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.417, allocations: 4 kB / 1.315 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.417, allocations: 0 / 1.315 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.4174, allocations: 284.4 kB / 1.315 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4174, allocations: 3.938 kB / 1.315 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.4175, allocations: 27.91 kB / 1.315 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4176, allocations: 0 / 1.315 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.4176, allocations: 8 kB / 1.315 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4176, allocations: 0 / 1.315 GB, free: 9.098 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4176, allocations: 4 kB / 1.315 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.4181, allocations: 276.8 kB / 1.315 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.4181, allocations: 27.84 kB / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.4181, allocations: 0 / 1.315 GB, free: 8.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.4183, allocations: 15.98 kB / 1.315 GB, free: 8.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4184, allocations: 27.95 kB / 1.315 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.4184, allocations: 4 kB / 1.315 GB, free: 8.734 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001342/0.4185, allocations: 149.4 kB / 1.316 GB, free: 8.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4185, allocations: 0 / 1.316 GB, free: 8.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003231/0.4188, allocations: 55.78 kB / 1.316 GB, free: 8.535 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001943/0.419, allocations: 114.2 kB / 1.316 GB, free: 8.414 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.4195, allocations: 166.3 kB / 1.316 GB, free: 8.254 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4195, allocations: 0 / 1.316 GB, free: 8.254 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.4197, allocations: 75.89 kB / 1.316 GB, free: 8.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.4201, allocations: 25.97 kB / 1.316 GB, free: 8.156 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.421, allocations: 410 kB / 1.316 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4215, allocations: 0.7448 MB / 1.317 GB, free: 6.957 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.4216, allocations: 33.94 kB / 1.317 GB, free: 6.926 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.4217, allocations: 27.42 kB / 1.317 GB, free: 6.898 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/0.4217, allocations: 0 / 1.317 GB, free: 6.898 MB / 1.014 GB Notification: Performance of Templates: time 0.006551/0.4282, allocations: 2.094 MB / 1.319 GB, free: 4.867 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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: 9.421814342960715]