Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.DualDuctColdDuctMin.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 105.1 kB / 16.36 MB, free: 6.285 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.00127/0.00127, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.434/1.434, 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.341/2.341, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 67.31 kB / 0.8141 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 140.4 MB / 0.9512 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002955/0.3133, allocations: 1.288 MB / 0.9524 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.315, allocations: 1.076 MB / 0.9535 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.3152, allocations: 4 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.3154, allocations: 35.59 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.3156, allocations: 31.61 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.3159, allocations: 111.8 kB / 0.9537 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.3162, allocations: 284.4 kB / 0.9539 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.3165, allocations: 168.8 kB / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3167, allocations: 115.5 kB / 0.9542 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.3169, allocations: 123.4 kB / 0.9543 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.3169, allocations: 28 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.317, allocations: 35.94 kB / 0.9544 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.317, allocations: 55.84 kB / 0.9544 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3172, allocations: 135.2 kB / 0.9546 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.3176, allocations: 386.6 kB / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3176, allocations: 0 / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.526e-06/0.3176, allocations: 0 / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.3177, allocations: 7.938 kB / 0.9549 GB, free: 4.145 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009636/0.3186, allocations: 0.5341 MB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3187, allocations: 12.03 kB / 0.9555 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.3188, allocations: 28.56 kB / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.3194, allocations: 325 kB / 0.9558 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.3194, allocations: 20.94 kB / 0.9558 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.3195, allocations: 24.38 kB / 0.9558 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.32, allocations: 221 kB / 0.9561 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.32, allocations: 0 / 0.9561 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.32, allocations: 12 kB / 0.9561 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.32, allocations: 4 kB / 0.9561 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.3205, allocations: 186.1 kB / 0.9562 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.3214, allocations: 0.6662 MB / 0.9569 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.3219, allocations: 150.5 kB / 0.957 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3221, allocations: 69 kB / 0.9571 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3221, allocations: 7.906 kB / 0.9571 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.3222, allocations: 30.56 kB / 0.9571 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.3222, allocations: 0 / 0.9571 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0006555/0.3228, allocations: 227.6 kB / 0.9574 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3229, allocations: 55.39 kB / 0.9574 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3231, allocations: 203.7 kB / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3232, allocations: 33.7 kB / 0.9576 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3233, allocations: 168 kB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.3234, allocations: 47.36 kB / 0.9578 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.3235, allocations: 57.69 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3237, allocations: 338.8 kB / 0.9582 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3239, allocations: 55.97 kB / 0.9583 GB, free: 500 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3241, allocations: 124.8 kB / 0.9584 GB, free: 352 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3244, allocations: 166.7 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3245, allocations: 0 / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004674/0.3249, allocations: 219.7 kB / 0.9588 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.325, allocations: 4.219 kB / 0.9588 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.325, allocations: 8 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.325, allocations: 4 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3252, allocations: 35.91 kB / 0.9588 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3252, allocations: 4 kB / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3253, allocations: 35.67 kB / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3254, allocations: 4 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (25): * Single equations (assignments): 25 * 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.0001657/0.3255, allocations: 153.7 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3256, allocations: 15.81 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.641e-05/0.3256, allocations: 25.86 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3257, allocations: 4 kB / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.3257, allocations: 0 / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3257, allocations: 0 / 0.959 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.326, allocations: 301.2 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.326, allocations: 0 / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.3262, allocations: 23.98 kB / 0.9594 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.3262, allocations: 4 kB / 0.9594 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3262, allocations: 7.984 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3262, allocations: 0 / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3262, allocations: 0 / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.3267, allocations: 267.1 kB / 0.9596 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.3267, allocations: 92.91 kB / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.3268, allocations: 4 kB / 0.9597 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.3269, allocations: 19.98 kB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.327, allocations: 31.89 kB / 0.9598 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3271, allocations: 8 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3272, allocations: 137.5 kB / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3272, allocations: 7.938 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002822/0.3275, allocations: 39.84 kB / 0.96 GB, free: 14.62 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001814/0.3277, allocations: 115.2 kB / 0.9601 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.3281, allocations: 166.6 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3281, allocations: 0 / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3283, allocations: 79.89 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.3286, allocations: 38.19 kB / 0.9603 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.3294, allocations: 385.3 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3298, allocations: 0.7522 MB / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.3299, allocations: 25.94 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.33, allocations: 23.44 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.33, allocations: 0 / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of Templates: time 0.005451/0.3354, allocations: 1.92 MB / 0.9634 GB, free: 11.14 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches