Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00184/0.00184, allocations: 103.4 kB / 16.27 MB, free: 5.969 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.002076/0.002075, allocations: 189.3 kB / 17.2 MB, free: 5.594 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.524/1.524, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.44 kB / 0.87 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002671/0.3173, allocations: 0.9966 MB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3186, allocations: 0.9713 MB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.3187, allocations: 4 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.637e-05/0.3188, allocations: 15.8 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3189, allocations: 19.78 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.3192, allocations: 55.89 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3194, allocations: 167.5 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.3196, allocations: 92.17 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.3198, allocations: 67.7 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3199, allocations: 71.69 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.3199, allocations: 16 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.768e-05/0.32, allocations: 16 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.32, allocations: 39.84 kB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.3201, allocations: 63.67 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.3204, allocations: 203.5 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3204, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3204, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.3204, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 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.000762/0.3212, allocations: 451.1 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3212, allocations: 11.97 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.3213, allocations: 16.75 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.3218, allocations: 256.2 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3218, allocations: 12.59 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3218, allocations: 12.38 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.3222, allocations: 148.4 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3222, allocations: 192 / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3223, allocations: 7.938 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3223, allocations: 4 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.3226, allocations: 117.3 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.3234, allocations: 476 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.3237, allocations: 110.5 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3239, allocations: 52.83 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3239, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.324, allocations: 34.56 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.324, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005785/0.3245, allocations: 173.4 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3246, allocations: 51.41 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3248, allocations: 153.5 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3248, allocations: 29.7 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.3249, allocations: 119.8 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.3249, allocations: 31.56 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.654e-05/0.325, allocations: 37.69 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3252, allocations: 322.8 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3253, allocations: 47.95 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.3255, allocations: 72.97 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.3258, allocations: 107.3 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3258, allocations: 3.938 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003708/0.3262, allocations: 145.4 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3262, allocations: 8 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3262, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3262, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.3264, allocations: 31.97 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3264, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.3265, allocations: 27.86 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3266, allocations: 4 kB / 1.024 GB, free: 4.52 MB / 0.795 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.0001303/0.3267, allocations: 133.7 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3267, allocations: 7.906 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.3268, allocations: 12.72 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3268, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3268, allocations: 0 / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3268, allocations: 7.984 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3271, allocations: 241.4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3271, allocations: 0 / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.3272, allocations: 23.97 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3273, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3273, allocations: 4 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3273, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3273, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.3277, allocations: 231.2 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3278, allocations: 89.02 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3278, allocations: 4 kB / 1.024 GB, free: 3.688 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3279, allocations: 11.98 kB / 1.024 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.328, allocations: 11.98 kB / 1.024 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.328, allocations: 8 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.011e-05/0.3281, allocations: 113.6 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3281, allocations: 4 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002569/0.3284, allocations: 31.84 kB / 1.025 GB, free: 3.512 MB / 0.795 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.0001514/0.3285, allocations: 99.91 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.3289, allocations: 119.7 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3289, allocations: 0 / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3291, allocations: 56.14 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.3295, allocations: 16 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.3301, allocations: 294.3 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3305, allocations: 0.7122 MB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.3305, allocations: 27.44 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.3305, allocations: 0 / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of Templates: time 0.003487/0.334, allocations: 1.643 MB / 1.027 GB, free: 0.5 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches