Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, 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.002217/0.002217, allocations: 199 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.421/1.421, 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.489/2.489, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.91 kB / 0.8126 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8099/0.8114, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002472/0.8139, allocations: 1.052 MB / 0.9507 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.8149, allocations: 0.9712 MB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.815, allocations: 2.75 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.8151, allocations: 3.938 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.8152, allocations: 22.59 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.8154, allocations: 48.22 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.8156, allocations: 150.8 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.8158, allocations: 77.06 kB / 0.9519 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.816, allocations: 64.33 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.8161, allocations: 71.23 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.8161, allocations: 8.281 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.698e-05/0.8161, allocations: 8.688 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.8162, allocations: 29.05 kB / 0.9521 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.8162, allocations: 63.78 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.8164, allocations: 155.7 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.8164, allocations: 1.312 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8164, allocations: 0 / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8164, allocations: 0 / 0.9523 GB, free: 7.078 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006387/0.8171, allocations: 453.5 kB / 0.9527 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.8171, allocations: 9.438 kB / 0.9527 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.8172, allocations: 20.66 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.8176, allocations: 247 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.8177, allocations: 10 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.8177, allocations: 13.72 kB / 0.953 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.818, allocations: 148.6 kB / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8181, allocations: 0 / 0.9532 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.8181, allocations: 9.484 kB / 0.9532 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.8181, allocations: 12.16 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.8184, allocations: 109.5 kB / 0.9533 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.8191, allocations: 480.8 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.8194, allocations: 98.47 kB / 0.9538 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.8195, allocations: 45.39 kB / 0.9539 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.8196, allocations: 5.344 kB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.8196, allocations: 35.97 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.8196, allocations: 7.875 kB / 0.9539 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005356/0.8201, allocations: 163.8 kB / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.8202, allocations: 52.94 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.8203, allocations: 152.1 kB / 0.9543 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.8203, allocations: 35.27 kB / 0.9543 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.8204, allocations: 118.8 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.8204, allocations: 35.69 kB / 0.9545 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.8205, allocations: 37.67 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.8206, allocations: 325.4 kB / 0.9548 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.8207, allocations: 42.53 kB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.8209, allocations: 74.42 kB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.8212, allocations: 104.9 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8212, allocations: 4 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003676/0.8215, allocations: 147.9 kB / 0.9552 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8216, allocations: 5.281 kB / 0.9552 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8216, allocations: 5.391 kB / 0.9552 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.8216, allocations: 1.25 kB / 0.9552 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.8218, allocations: 22.77 kB / 0.9552 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.8218, allocations: 5.438 kB / 0.9552 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.8219, allocations: 22.17 kB / 0.9552 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.822, allocations: 9.156 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (14): * Single equations (assignments): 14 * 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.0001087/0.8221, allocations: 129 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.8221, allocations: 9.562 kB / 0.9554 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.8222, allocations: 15.52 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8222, allocations: 1.188 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8222, allocations: 4 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8222, allocations: 3.984 kB / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.8224, allocations: 233.8 kB / 0.9556 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8224, allocations: 0 / 0.9556 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.8225, allocations: 21.98 kB / 0.9556 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.8226, allocations: 4.875 kB / 0.9556 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.8226, allocations: 1.062 kB / 0.9556 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8226, allocations: 1.125 kB / 0.9556 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8226, allocations: 7.875 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.8229, allocations: 233.7 kB / 0.9559 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.823, allocations: 88.62 kB / 0.9559 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.823, allocations: 5.156 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8231, allocations: 4.875 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.8232, allocations: 17.66 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.8232, allocations: 3.531 kB / 0.956 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.047e-05/0.8233, allocations: 120.8 kB / 0.9561 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8233, allocations: 0 / 0.9561 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002533/0.8236, allocations: 25.88 kB / 0.9561 GB, free: 3.703 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: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001394/0.8237, allocations: 109.3 kB / 0.9562 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.8241, allocations: 106.6 kB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8241, allocations: 4 kB / 0.9563 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.8242, allocations: 56.09 kB / 0.9564 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.8246, allocations: 13.42 kB / 0.9564 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005562/0.8251, allocations: 333.1 kB / 0.9567 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.8253, allocations: 0.7156 MB / 0.9574 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.8254, allocations: 18.73 kB / 0.9574 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8254, allocations: 0 / 0.9574 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.003295/0.8287, allocations: 1.624 MB / 0.959 GB, free: 1.688 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches