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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001376/0.001376, allocations: 105.7 kB / 16.27 MB, free: 5.957 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.001577/0.001577, allocations: 187.2 kB / 17.19 MB, free: 5.59 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.553/2.553, allocations: 390.3 MB / 0.6653 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 65.17 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 140.4 MB / 0.9503 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.003075/0.3488, allocations: 1.004 MB / 0.9513 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3506, allocations: 0.9752 MB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.3508, allocations: 4 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.07e-05/0.3509, allocations: 11.81 kB / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3511, allocations: 19.73 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3514, allocations: 67.92 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.3517, allocations: 155.7 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.3519, allocations: 84.16 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.3522, allocations: 71.66 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3523, allocations: 67.69 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.3524, allocations: 16 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.685e-05/0.3524, allocations: 20 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.3525, allocations: 39.89 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.3526, allocations: 71.55 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.3528, allocations: 199.5 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3529, allocations: 0 / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3529, allocations: 0 / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3529, allocations: 4 kB / 0.9531 GB, free: 5.984 MB / 0.7325 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.0008982/0.3538, allocations: 443.1 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/0.3539, allocations: 12.03 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.354, allocations: 20.73 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.3546, allocations: 250.2 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3546, allocations: 12.66 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3547, allocations: 16.31 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.355, allocations: 144 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3551, allocations: 0 / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3551, allocations: 8 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3551, allocations: 4 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.3555, allocations: 116.7 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.3562, allocations: 479.9 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3565, allocations: 110.7 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3567, allocations: 48.83 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3567, allocations: 4 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3568, allocations: 34.5 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3568, allocations: 0 / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005921/0.3574, allocations: 169.4 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3574, allocations: 51.41 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3576, allocations: 160.6 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3576, allocations: 25.7 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3577, allocations: 115.8 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3577, allocations: 31.55 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.3578, allocations: 37.7 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3579, allocations: 326.8 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.3581, allocations: 39.97 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3583, allocations: 75.33 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.3586, allocations: 111.7 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3586, allocations: 0 / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004031/0.359, allocations: 145.4 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3591, allocations: 8 kB / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3591, allocations: 0 / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3591, allocations: 0 / 0.9559 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3593, allocations: 32.06 kB / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3593, allocations: 0 / 0.9559 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3594, allocations: 19.83 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.3595, allocations: 11.94 kB / 0.956 GB, free: 2.742 MB / 0.7325 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.0001406/0.3596, allocations: 127.8 kB / 0.9561 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.3597, allocations: 11.91 kB / 0.9561 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3597, allocations: 16.7 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3597, allocations: 4 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3597, allocations: 4 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3597, allocations: 0 / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.3601, allocations: 237.4 kB / 0.9564 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.3601, allocations: 7.922 kB / 0.9564 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.3603, allocations: 23.92 kB / 0.9564 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3603, allocations: 0 / 0.9564 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3603, allocations: 4 kB / 0.9564 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3603, allocations: 3.938 kB / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3603, allocations: 0 / 0.9564 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.3609, allocations: 227.3 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.5e-05/0.361, allocations: 85.02 kB / 0.9567 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.361, allocations: 4 kB / 0.9567 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3612, allocations: 11.98 kB / 0.9567 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.3612, allocations: 15.97 kB / 0.9567 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3613, allocations: 4 kB / 0.9567 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.493e-05/0.3614, allocations: 113.1 kB / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.803e-06/0.3614, allocations: 0 / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002904/0.3617, allocations: 35.78 kB / 0.9569 GB, free: 1.734 MB / 0.7325 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.0001554/0.3618, allocations: 111.2 kB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.3623, allocations: 112 kB / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3623, allocations: 0 / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3625, allocations: 51.97 kB / 0.9571 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3628, allocations: 15.94 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.3635, allocations: 287 kB / 0.9574 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3639, allocations: 0.72 MB / 0.9581 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.364, allocations: 19.42 kB / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/0.364, allocations: 0 / 0.9581 GB, free: 364 kB / 0.7325 GB Notification: Performance of Templates: time 0.004022/0.368, allocations: 1.649 MB / 0.9598 GB, free: 14.71 MB / 0.7481 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