Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 110.4 kB / 16.27 MB, free: 6.352 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.001354/0.001354, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 62.11 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 140.4 MB / 0.9503 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.003058/0.2841, allocations: 1.129 MB / 0.9514 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2855, allocations: 1.002 MB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.2856, allocations: 4 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.2857, allocations: 23.67 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.2858, allocations: 27.73 kB / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.286, allocations: 83.84 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.2862, allocations: 212.2 kB / 0.9527 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.2865, allocations: 128.2 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.2866, allocations: 87.66 kB / 0.9529 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.2868, allocations: 91.55 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.2868, allocations: 27.94 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.004e-05/0.2869, allocations: 20 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.2869, allocations: 59.81 kB / 0.9531 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.287, allocations: 95.41 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.2873, allocations: 279.3 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2873, allocations: 4 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2873, allocations: 0 / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2873, allocations: 0 / 0.9535 GB, free: 5.547 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.000692/0.288, allocations: 491.2 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.288, allocations: 8.031 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.2881, allocations: 24.66 kB / 0.954 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.2886, allocations: 274.4 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.2886, allocations: 20.81 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.2886, allocations: 16.38 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.289, allocations: 195.2 kB / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.289, allocations: 0 / 0.9545 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.2891, allocations: 4 kB / 0.9545 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.2891, allocations: 8 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.2895, allocations: 153.6 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.2903, allocations: 0.5725 MB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.2906, allocations: 130.4 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.2908, allocations: 64.77 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2908, allocations: 0 / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2908, allocations: 34.5 kB / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.2908, allocations: 0 / 0.9554 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005977/0.2914, allocations: 205.3 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2915, allocations: 55.41 kB / 0.9557 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2916, allocations: 175.8 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2917, allocations: 25.7 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.2917, allocations: 144.1 kB / 0.956 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.2918, allocations: 43.52 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.2919, allocations: 53.7 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.292, allocations: 326.8 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2922, allocations: 47.97 kB / 0.9564 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.2924, allocations: 98.89 kB / 0.9565 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.2927, allocations: 143.6 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2927, allocations: 4 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004187/0.2931, allocations: 181.3 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2932, allocations: 8 kB / 0.9568 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2932, allocations: 3.938 kB / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2932, allocations: 4 kB / 0.9569 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2934, allocations: 36.08 kB / 0.9569 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2934, allocations: 7.984 kB / 0.9569 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2935, allocations: 19.84 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2936, allocations: 7.984 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.00013/0.2937, allocations: 140.3 kB / 0.9571 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.2937, allocations: 15.81 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.296e-05/0.2938, allocations: 21.47 kB / 0.9571 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2938, allocations: 4 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2938, allocations: 0 / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2938, allocations: 3.984 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.2941, allocations: 265.5 kB / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2941, allocations: 0 / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2942, allocations: 23.97 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.2943, allocations: 0 / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.2943, allocations: 11.88 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2943, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2943, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.2947, allocations: 261.7 kB / 0.9576 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2948, allocations: 88.92 kB / 0.9577 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.2948, allocations: 7.938 kB / 0.9577 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.2949, allocations: 11.98 kB / 0.9577 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.295, allocations: 23.97 kB / 0.9578 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.295, allocations: 7.938 kB / 0.9578 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.2951, allocations: 124.2 kB / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2951, allocations: 0 / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002635/0.2954, allocations: 35.84 kB / 0.9579 GB, free: 0.6523 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: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001399/0.2955, allocations: 115.2 kB / 0.958 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.296, allocations: 148 kB / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.296, allocations: 0 / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.2961, allocations: 75.89 kB / 0.9582 GB, free: 320 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2965, allocations: 12 kB / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.2971, allocations: 358.8 kB / 0.9586 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2974, allocations: 0.728 MB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.2975, allocations: 23.42 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.2975, allocations: 3.938 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.00391/0.3014, allocations: 2.061 MB / 0.9614 GB, free: 13.09 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches