Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001617, allocations: 100.1 kB / 15.88 MB, free: 12 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.002091/0.002091, allocations: 196 kB / 16.79 MB, free: 6.809 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 71.89 kB / 0.8126 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8023, allocations: 140.3 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00248/0.8049, allocations: 1.167 MB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.806, allocations: 1.004 MB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.8061, allocations: 2.75 kB / 0.9518 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.551e-05/0.8061, allocations: 15.8 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.8063, allocations: 14.62 kB / 0.9518 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.8065, allocations: 70.94 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.8067, allocations: 201.5 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.807, allocations: 121.2 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.8071, allocations: 80.92 kB / 0.9522 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.8072, allocations: 91.31 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.8073, allocations: 11 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.8073, allocations: 11.94 kB / 0.9524 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.8074, allocations: 38.72 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.8074, allocations: 81 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.8076, allocations: 225.3 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8076, allocations: 0 / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8077, allocations: 1.219 kB / 0.9527 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8077, allocations: 0 / 0.9527 GB, free: 6.801 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000672/0.8083, allocations: 495 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.8084, allocations: 17.44 kB / 0.9532 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.8084, allocations: 23.16 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.8089, allocations: 270.7 kB / 0.9535 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.8089, allocations: 18.5 kB / 0.9535 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.809, allocations: 16.5 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.8094, allocations: 191.5 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8094, allocations: 1.312 kB / 0.9537 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.8095, allocations: 5.125 kB / 0.9537 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.8095, allocations: 5.281 kB / 0.9537 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.8099, allocations: 149.2 kB / 0.9538 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.8107, allocations: 0.5762 MB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.811, allocations: 125.7 kB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.8112, allocations: 60.55 kB / 0.9546 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.8112, allocations: 5.219 kB / 0.9546 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.8112, allocations: 35.66 kB / 0.9546 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.8112, allocations: 0 / 0.9546 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005616/0.8118, allocations: 204.7 kB / 0.9548 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.8118, allocations: 52.84 kB / 0.9548 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.812, allocations: 177.1 kB / 0.955 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.812, allocations: 33.69 kB / 0.955 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.8121, allocations: 138.5 kB / 0.9552 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.8121, allocations: 49.08 kB / 0.9552 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.8122, allocations: 47.3 kB / 0.9553 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.8123, allocations: 330.2 kB / 0.9556 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.8124, allocations: 48.91 kB / 0.9556 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.8126, allocations: 100.4 kB / 0.9557 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.8129, allocations: 140.9 kB / 0.9559 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.8129, allocations: 0 / 0.9559 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003899/0.8133, allocations: 188.2 kB / 0.956 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8134, allocations: 10.41 kB / 0.9561 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8134, allocations: 5.375 kB / 0.9561 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8134, allocations: 2.5 kB / 0.9561 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.8136, allocations: 30.05 kB / 0.9561 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8136, allocations: 6.953 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.8137, allocations: 19.56 kB / 0.9561 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.8137, allocations: 9.609 kB / 0.9561 GB, free: 3.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001021/0.8138, allocations: 138.5 kB / 0.9563 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.8139, allocations: 10.03 kB / 0.9563 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.8139, allocations: 20.28 kB / 0.9563 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8139, allocations: 1.875 kB / 0.9563 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8139, allocations: 0 / 0.9563 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.814, allocations: 9.109 kB / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.8142, allocations: 261.4 kB / 0.9565 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8142, allocations: 3.938 kB / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.8144, allocations: 24.09 kB / 0.9566 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8144, allocations: 5.438 kB / 0.9566 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.8144, allocations: 9.375 kB / 0.9566 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.8144, allocations: 0 / 0.9566 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8144, allocations: 0 / 0.9566 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.8147, allocations: 255 kB / 0.9568 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.8148, allocations: 92.39 kB / 0.9569 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.8148, allocations: 15.58 kB / 0.9569 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.8149, allocations: 7.844 kB / 0.9569 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.815, allocations: 18.56 kB / 0.957 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.815, allocations: 7.797 kB / 0.957 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.559e-05/0.8151, allocations: 120 kB / 0.9571 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8151, allocations: 0 / 0.9571 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.8154, allocations: 36.41 kB / 0.9571 GB, free: 3.047 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.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001221/0.8155, allocations: 115.2 kB / 0.9572 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.8159, allocations: 137 kB / 0.9574 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8159, allocations: 0 / 0.9574 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8161, allocations: 68.64 kB / 0.9574 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.8164, allocations: 27.45 kB / 0.9574 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.8171, allocations: 412.5 kB / 0.9578 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.8172, allocations: 0.7325 MB / 0.9586 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.8173, allocations: 26.17 kB / 0.9586 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.8173, allocations: 0 / 0.9586 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of Templates: time 0.003757/0.8211, allocations: 2.059 MB / 0.9606 GB, free: 0.7188 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches