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.001559/0.001559, allocations: 112.6 kB / 16.37 MB, free: 6 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.00154/0.001539, allocations: 196 kB / 17.31 MB, free: 5.613 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.524/2.524, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.14 kB / 0.8141 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3188, allocations: 140.4 MB / 0.9512 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.00238/0.3212, allocations: 1.009 MB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3225, allocations: 0.9713 MB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.3225, allocations: 0 / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.112e-05/0.3226, allocations: 19.8 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.3228, allocations: 23.69 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.323, allocations: 51.94 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3232, allocations: 167.6 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.3234, allocations: 78.09 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3236, allocations: 79.69 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.3237, allocations: 71.62 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.3237, allocations: 16 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.45e-05/0.3238, allocations: 16 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.3238, allocations: 35.86 kB / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.3239, allocations: 75.64 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.3241, allocations: 199.1 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3241, allocations: 0 / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3241, allocations: 0 / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3241, allocations: 0 / 0.9539 GB, free: 5.195 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.0007023/0.3249, allocations: 455.1 kB / 0.9543 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3249, allocations: 8.031 kB / 0.9544 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.325, allocations: 16.75 kB / 0.9544 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.3254, allocations: 248.3 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3254, allocations: 16.66 kB / 0.9546 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.3255, allocations: 12.38 kB / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3258, allocations: 144 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3258, allocations: 0 / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3258, allocations: 8 kB / 0.9548 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3258, allocations: 4 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.3261, allocations: 108.8 kB / 0.9549 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.3268, allocations: 483.9 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3271, allocations: 102.7 kB / 0.9554 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3272, allocations: 48.83 kB / 0.9555 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3273, allocations: 3.984 kB / 0.9555 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3273, allocations: 42.48 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.3273, allocations: 0 / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005269/0.3278, allocations: 165.5 kB / 0.9557 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3279, allocations: 51.41 kB / 0.9557 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.328, allocations: 156.4 kB / 0.9559 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.3281, allocations: 29.7 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.3281, allocations: 115.8 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.3282, allocations: 31.55 kB / 0.9561 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.3282, allocations: 37.7 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3284, allocations: 326.8 kB / 0.9564 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3285, allocations: 39.97 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3287, allocations: 79.27 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.329, allocations: 111.7 kB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.329, allocations: 4 kB / 0.9566 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003414/0.3294, allocations: 145.4 kB / 0.9568 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3294, allocations: 8 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3294, allocations: 0 / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3294, allocations: 4 kB / 0.9568 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3296, allocations: 19.98 kB / 0.9568 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.3296, allocations: 4.094 kB / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.3297, allocations: 19.83 kB / 0.9568 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.3297, allocations: 15.94 kB / 0.9568 GB, free: 1.949 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.0001151/0.3298, allocations: 129.8 kB / 0.957 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.3299, allocations: 15.84 kB / 0.957 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.3299, allocations: 12.72 kB / 0.957 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3299, allocations: 4 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.33, allocations: 0 / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.33, allocations: 4 kB / 0.957 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.3302, allocations: 241.4 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3302, allocations: 0 / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3303, allocations: 15.98 kB / 0.9572 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3304, allocations: 4 kB / 0.9573 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3304, allocations: 3.984 kB / 0.9573 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3304, allocations: 0 / 0.9573 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3304, allocations: 3.938 kB / 0.9573 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3307, allocations: 231.3 kB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.3308, allocations: 81.02 kB / 0.9576 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3308, allocations: 7.938 kB / 0.9576 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3309, allocations: 11.98 kB / 0.9576 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.331, allocations: 11.98 kB / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.331, allocations: 4 kB / 0.9576 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.14e-05/0.3311, allocations: 113.2 kB / 0.9577 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3311, allocations: 4 kB / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000253/0.3314, allocations: 31.84 kB / 0.9577 GB, free: 0.9453 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.0001302/0.3315, allocations: 107.2 kB / 0.9578 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3319, allocations: 107.9 kB / 0.9579 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3319, allocations: 4.188 kB / 0.9579 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.332, allocations: 47.97 kB / 0.958 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3324, allocations: 23.92 kB / 0.958 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.333, allocations: 271.3 kB / 0.9583 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3333, allocations: 0.7122 MB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.721e-05/0.3333, allocations: 20.62 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.3334, allocations: 19.42 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.3334, allocations: 4 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.004032/0.3374, allocations: 1.213 MB / 0.9602 GB, free: 14.41 MB / 0.7481 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 -s cvode -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