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.001297/0.001297, allocations: 104.3 kB / 16.35 MB, free: 6.34 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.001421/0.00142, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.507/1.507, 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.486/2.486, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 62.7 kB / 0.8141 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3143, 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002662/0.317, allocations: 1.011 MB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3184, allocations: 0.9791 MB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3186, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.298e-05/0.3186, allocations: 15.8 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3188, allocations: 19.75 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3191, allocations: 63.86 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.3194, allocations: 155.7 kB / 0.9534 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.3196, allocations: 84.19 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.3198, allocations: 71.7 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.3199, allocations: 75.62 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.32, allocations: 16 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.32, allocations: 16 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.3201, allocations: 31.91 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.3202, allocations: 75.58 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3204, allocations: 211.1 kB / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3204, allocations: 0 / 0.9539 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3205, allocations: 4 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.3205, allocations: 0 / 0.9539 GB, free: 5.18 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.0008565/0.3213, allocations: 451.1 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.3214, allocations: 8.031 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.3215, allocations: 16.75 kB / 0.9544 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/0.322, allocations: 246.2 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.322, allocations: 16.66 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.322, allocations: 12.38 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3224, allocations: 144 kB / 0.9548 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3224, allocations: 0 / 0.9548 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3225, allocations: 4 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3225, allocations: 4 kB / 0.9548 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.3228, allocations: 116.7 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007404/0.3236, allocations: 476 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.3239, allocations: 106.5 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.3241, allocations: 48.89 kB / 0.9555 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3241, allocations: 8 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.3242, allocations: 34.56 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3242, allocations: 0 / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006695/0.3249, allocations: 165.5 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.3249, allocations: 51.41 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3251, allocations: 157.5 kB / 0.9559 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.3252, allocations: 25.7 kB / 0.9559 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3253, allocations: 119.8 kB / 0.956 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3254, allocations: 31.55 kB / 0.9561 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.3254, allocations: 41.64 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3256, allocations: 326.8 kB / 0.9564 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3258, allocations: 39.97 kB / 0.9564 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.326, allocations: 71.39 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.3263, allocations: 107.3 kB / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3263, allocations: 0 / 0.9566 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003558/0.3266, allocations: 145.8 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.3267, allocations: 11.98 kB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3267, allocations: 0 / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3267, allocations: 0 / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3269, allocations: 32.02 kB / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3269, allocations: 0 / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.327, allocations: 23.83 kB / 0.9568 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3271, allocations: 11.88 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.0001273/0.3272, allocations: 121.8 kB / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3272, allocations: 7.906 kB / 0.9569 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.3273, allocations: 20.7 kB / 0.957 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3273, allocations: 7.984 kB / 0.957 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.3273, allocations: 0 / 0.957 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3273, allocations: 4 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.3276, allocations: 241.4 kB / 0.9572 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3277, allocations: 4 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.3278, allocations: 19.92 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3278, allocations: 0 / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.3278, allocations: 8 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3278, allocations: 0 / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3278, allocations: 0 / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3282, allocations: 231.3 kB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.3283, allocations: 89 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3283, allocations: 4 kB / 0.9576 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3284, allocations: 8 kB / 0.9576 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.3285, allocations: 15.97 kB / 0.9576 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3285, allocations: 8 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3286, allocations: 117.2 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.435e-06/0.3287, allocations: 0 / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002896/0.3289, allocations: 31.78 kB / 0.9577 GB, free: 0.9375 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.0001925/0.3291, allocations: 103.2 kB / 0.9578 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.3296, allocations: 116 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3296, allocations: 0 / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3297, allocations: 55.91 kB / 0.958 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3301, allocations: 12.59 kB / 0.958 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.331, allocations: 256.7 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.3314, allocations: 0.72 MB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.03e-05/0.3315, allocations: 16.64 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.3316, allocations: 19.42 kB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.3316, allocations: 0 / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.004781/0.3364, allocations: 1.23 MB / 0.9602 GB, free: 14.4 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 cvode -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