Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007647/0.007647, allocations: 101.4 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 192.8 kB / 16.79 MB, free: 5.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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.36/2.36, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 71.89 kB / 0.8126 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7191/0.7205, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002169/0.7228, allocations: 1.058 MB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.7237, allocations: 0.9681 MB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.7238, allocations: 1.312 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.7238, allocations: 7.922 kB / 0.9516 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.724, allocations: 18.38 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.7242, allocations: 52.89 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.7243, allocations: 146.2 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.7245, allocations: 90.58 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.7247, allocations: 59.56 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.7248, allocations: 68.03 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.7248, allocations: 7.438 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.7248, allocations: 8.719 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.7249, allocations: 33.03 kB / 0.9521 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.7249, allocations: 64.53 kB / 0.9522 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.7251, allocations: 151.6 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7251, allocations: 0 / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.41e-07/0.7251, allocations: 2.125 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.7251, allocations: 0 / 0.9523 GB, free: 7.059 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.0005605/0.7257, allocations: 452 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7257, allocations: 9.656 kB / 0.9527 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.7258, allocations: 17.16 kB / 0.9528 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.7261, allocations: 250.9 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.7262, allocations: 9.844 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.7262, allocations: 13.84 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.7265, allocations: 149.4 kB / 0.9532 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7265, allocations: 0 / 0.9532 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.7266, allocations: 5.25 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.7266, allocations: 3.5 kB / 0.9532 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.7269, allocations: 109.9 kB / 0.9533 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.7275, allocations: 480.4 kB / 0.9537 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.7278, allocations: 111.4 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.7279, allocations: 52.89 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.728, allocations: 1.188 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.728, allocations: 39.86 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.728, allocations: 0 / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005298/0.7285, allocations: 159.7 kB / 0.9541 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.7286, allocations: 56.78 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.7287, allocations: 156.7 kB / 0.9543 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.7287, allocations: 29.7 kB / 0.9543 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.7288, allocations: 119.7 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.7288, allocations: 32.05 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.7289, allocations: 33.3 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.7289, allocations: 325.6 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.7291, allocations: 46.69 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.7292, allocations: 77.58 kB / 0.9549 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.7295, allocations: 105.1 kB / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7295, allocations: 0 / 0.955 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003333/0.7299, allocations: 148 kB / 0.9552 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7299, allocations: 5.188 kB / 0.9552 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7299, allocations: 1.562 kB / 0.9552 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7299, allocations: 5.062 kB / 0.9552 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.7301, allocations: 31.38 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7301, allocations: 0.8125 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.7302, allocations: 19.14 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.7302, allocations: 8.312 kB / 0.9552 GB, free: 4.52 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 8.669e-05/0.7303, allocations: 133.7 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.7303, allocations: 9.344 kB / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.7304, allocations: 19.09 kB / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7304, allocations: 1.094 kB / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7304, allocations: 0 / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7304, allocations: 0.9688 kB / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.7306, allocations: 233.5 kB / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7306, allocations: 0 / 0.9556 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.7308, allocations: 21.33 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.7308, allocations: 1.5 kB / 0.9556 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.7308, allocations: 9.453 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7308, allocations: 7.922 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7308, allocations: 7.938 kB / 0.9557 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.7311, allocations: 225.8 kB / 0.9559 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.7312, allocations: 85.23 kB / 0.9559 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.7312, allocations: 3.938 kB / 0.956 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7313, allocations: 9.609 kB / 0.956 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.7314, allocations: 18.14 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.7314, allocations: 2.375 kB / 0.956 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.7314, allocations: 118.7 kB / 0.9561 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7315, allocations: 0 / 0.9561 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002469/0.7317, allocations: 29.09 kB / 0.9561 GB, free: 3.684 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.0001254/0.7318, allocations: 109.3 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003434/0.7322, allocations: 110.5 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7322, allocations: 3.938 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.7323, allocations: 58.61 kB / 0.9564 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.7327, allocations: 7.562 kB / 0.9564 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.7332, allocations: 340.6 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.7334, allocations: 0.715 MB / 0.9574 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.7334, allocations: 15.41 kB / 0.9574 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7334, allocations: 0 / 0.9574 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.003112/0.7365, allocations: 1.631 MB / 0.959 GB, free: 1.664 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches