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.001555/0.001555, allocations: 108 kB / 15.99 MB, free: 6.359 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.001913/0.001913, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.642/1.642, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.209/2.209, allocations: 390.2 MB / 0.665 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 65.09 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 140.4 MB / 0.9498 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002954/0.284, allocations: 1.168 MB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2857, allocations: 0.9986 MB / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.2859, allocations: 0 / 0.9519 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.112e-05/0.286, allocations: 11.86 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.2862, allocations: 19.84 kB / 0.952 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2865, allocations: 67.91 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.2868, allocations: 216.2 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.2871, allocations: 124.2 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.2873, allocations: 99.56 kB / 0.9525 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.2875, allocations: 87.55 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2875, allocations: 27.94 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.2876, allocations: 24 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.2876, allocations: 51.84 kB / 0.9526 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2878, allocations: 95.47 kB / 0.9527 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.288, allocations: 223.7 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.288, allocations: 4 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.288, allocations: 0 / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.2881, allocations: 0 / 0.9529 GB, free: 5.949 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.0008377/0.2889, allocations: 491.2 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.289, allocations: 8.031 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.289, allocations: 28.66 kB / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.2895, allocations: 272.2 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.2896, allocations: 20.81 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.2896, allocations: 24.3 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.2901, allocations: 191.2 kB / 0.9539 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2901, allocations: 0 / 0.9539 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.2901, allocations: 8 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2901, allocations: 8 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.2905, allocations: 145.7 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.2915, allocations: 0.5725 MB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.2918, allocations: 122.6 kB / 0.9548 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.292, allocations: 64.83 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.292, allocations: 4 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2921, allocations: 34.56 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 3.086e-06/0.2921, allocations: 3.984 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006262/0.2927, allocations: 207.8 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2928, allocations: 63.34 kB / 0.9551 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2929, allocations: 174.3 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.293, allocations: 29.7 kB / 0.9553 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2931, allocations: 144.2 kB / 0.9555 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.2931, allocations: 39.45 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.952e-05/0.2932, allocations: 49.69 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2934, allocations: 326.8 kB / 0.9559 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.2935, allocations: 51.97 kB / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2937, allocations: 93.06 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.2941, allocations: 141 kB / 0.9561 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2941, allocations: 0 / 0.9561 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004325/0.2945, allocations: 195.6 kB / 0.9563 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2946, allocations: 8 kB / 0.9563 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2946, allocations: 3.938 kB / 0.9563 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2946, allocations: 4 kB / 0.9563 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.2948, allocations: 31.91 kB / 0.9564 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.2948, allocations: 4 kB / 0.9564 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.2949, allocations: 23.83 kB / 0.9564 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.295, allocations: 4.156 kB / 0.9564 GB, free: 2.156 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.0001464/0.2951, allocations: 145.3 kB / 0.9565 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2952, allocations: 15.81 kB / 0.9565 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.2952, allocations: 21.47 kB / 0.9566 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2952, allocations: 3.984 kB / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2952, allocations: 0 / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2953, allocations: 0 / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.2956, allocations: 265.5 kB / 0.9568 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2956, allocations: 0 / 0.9568 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2957, allocations: 31.91 kB / 0.9569 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2957, allocations: 0 / 0.9569 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.2957, allocations: 11.88 kB / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2958, allocations: 0 / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2958, allocations: 0 / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.2962, allocations: 251.2 kB / 0.9571 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.2962, allocations: 92.91 kB / 0.9572 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.2963, allocations: 3.938 kB / 0.9572 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2964, allocations: 15.98 kB / 0.9572 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.2965, allocations: 15.98 kB / 0.9572 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.2965, allocations: 4 kB / 0.9572 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.892e-05/0.2966, allocations: 120.2 kB / 0.9573 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2966, allocations: 0 / 0.9573 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002832/0.2969, allocations: 35.84 kB / 0.9574 GB, free: 1.055 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.0001431/0.2971, allocations: 116.9 kB / 0.9575 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.2975, allocations: 139.8 kB / 0.9576 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2975, allocations: 3.938 kB / 0.9576 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.2977, allocations: 79.08 kB / 0.9577 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.2981, allocations: 18.23 kB / 0.9577 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000777/0.2989, allocations: 414.7 kB / 0.9581 GB, free: 276 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.2993, allocations: 0.7397 MB / 0.9588 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.2993, allocations: 19.44 kB / 0.9589 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.2994, allocations: 4 kB / 0.9589 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.004228/0.3036, allocations: 2.063 MB / 0.9609 GB, free: 13.42 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