Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001613/0.001614, allocations: 190.9 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.15 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 61.39 kB / 0.8141 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3213, allocations: 140.4 MB / 0.9512 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002647/0.324, allocations: 0.9964 MB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3252, allocations: 0.9791 MB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.3253, allocations: 3.938 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.3254, allocations: 11.81 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3255, allocations: 27.72 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.3257, allocations: 51.94 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.3259, allocations: 159.6 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3261, allocations: 89.2 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3263, allocations: 71.72 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3264, allocations: 71.67 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3264, allocations: 16 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.3264, allocations: 19.94 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.3265, allocations: 39.84 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.3266, allocations: 67.67 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3268, allocations: 207.2 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3268, allocations: 0 / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3268, allocations: 3.938 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3268, allocations: 0 / 0.9539 GB, free: 5.152 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.0006481/0.3275, allocations: 447.1 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3275, allocations: 8.031 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.3276, allocations: 16.75 kB / 0.9544 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.328, allocations: 252.3 kB / 0.9546 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.328, allocations: 12.66 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3281, allocations: 12.38 kB / 0.9546 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.3284, allocations: 144 kB / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3284, allocations: 0 / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.3284, allocations: 8 kB / 0.9548 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3285, allocations: 0 / 0.9548 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.3288, allocations: 120.8 kB / 0.9549 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.3295, allocations: 471.9 kB / 0.9553 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.3298, allocations: 106.7 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.33, allocations: 52.83 kB / 0.9555 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.33, allocations: 3.984 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.3301, allocations: 30.56 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3301, allocations: 0 / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005549/0.3306, allocations: 181.6 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.3307, allocations: 51.41 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3308, allocations: 152.6 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3308, allocations: 29.7 kB / 0.9559 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.3309, allocations: 119.8 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.331, allocations: 27.56 kB / 0.9561 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.331, allocations: 37.69 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3312, allocations: 338.7 kB / 0.9564 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.3313, allocations: 39.97 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3315, allocations: 71.27 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3317, allocations: 111.3 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3318, allocations: 0 / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000346/0.3321, allocations: 145.4 kB / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3321, allocations: 9.969 kB / 0.9568 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3321, allocations: 4 kB / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3322, allocations: 0 / 0.9568 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3323, allocations: 27.97 kB / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3323, allocations: 0 / 0.9568 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.3324, allocations: 19.83 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3325, allocations: 7.938 kB / 0.9568 GB, free: 1.918 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.000119/0.3326, allocations: 133.6 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.3326, allocations: 15.84 kB / 0.957 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.3327, allocations: 16.72 kB / 0.957 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3327, allocations: 3.984 kB / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3327, allocations: 4 kB / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3327, allocations: 0 / 0.957 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3329, allocations: 237.4 kB / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.333, allocations: 0 / 0.9572 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.3331, allocations: 23.97 kB / 0.9573 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3331, allocations: 0 / 0.9573 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3331, allocations: 4 kB / 0.9573 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3331, allocations: 4 kB / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3331, allocations: 3.984 kB / 0.9573 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.3335, allocations: 227.3 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3335, allocations: 85.02 kB / 0.9576 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3336, allocations: 3.938 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3337, allocations: 15.98 kB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.3338, allocations: 15.98 kB / 0.9576 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.3338, allocations: 7.984 kB / 0.9576 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.3339, allocations: 109.3 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3339, allocations: 0 / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002563/0.3341, allocations: 31.84 kB / 0.9577 GB, free: 0.9062 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.0001314/0.3343, allocations: 103.2 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.3346, allocations: 111.9 kB / 0.9579 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3346, allocations: 0 / 0.9579 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.3348, allocations: 56.44 kB / 0.958 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3351, allocations: 20.75 kB / 0.958 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.3357, allocations: 268.9 kB / 0.9583 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.336, allocations: 0.7161 MB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.475e-05/0.3361, allocations: 16.64 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.3361, allocations: 19.44 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3361, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.003948/0.3401, allocations: 1.217 MB / 0.9602 GB, free: 14.37 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches