Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.334/2.334, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.89 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5331, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002099/0.5352, allocations: 1.117 MB / 1.019 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.5362, allocations: 1.014 MB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.5362, allocations: 4 kB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.5363, allocations: 19.73 kB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.5364, allocations: 23.69 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.5366, allocations: 75.91 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.5368, allocations: 216.2 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.537, allocations: 129.3 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.5371, allocations: 99.52 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.5372, allocations: 91.55 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.5373, allocations: 23.98 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.59e-05/0.5373, allocations: 24 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.5373, allocations: 51.84 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.5374, allocations: 95.47 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.5376, allocations: 277.3 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5376, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5376, allocations: 0 / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5377, allocations: 4 kB / 1.021 GB, free: 15.28 MB / 0.7794 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.0005625/0.5382, allocations: 492.6 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5383, allocations: 12.03 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.5383, allocations: 54.72 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.5384, allocations: 28.66 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.5388, allocations: 270.2 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5388, allocations: 12.81 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5388, allocations: 28.3 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.5392, allocations: 183.6 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.5392, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.5392, allocations: 12 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.5392, allocations: 8 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.5396, allocations: 149.6 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.5402, allocations: 0.5725 MB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.5405, allocations: 132.8 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5407, allocations: 64.81 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.5407, allocations: 3.938 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.5407, allocations: 34.56 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.5407, allocations: 0 / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005258/0.5412, allocations: 205.3 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.5413, allocations: 55.41 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.5414, allocations: 179.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5414, allocations: 25.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.5415, allocations: 136.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.5415, allocations: 51.45 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.5416, allocations: 45.7 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.5417, allocations: 322.8 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.5419, allocations: 55.95 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.542, allocations: 93.11 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.5423, allocations: 134.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5424, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003804/0.5427, allocations: 190.5 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5428, allocations: 5.562 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5428, allocations: 3.984 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5428, allocations: 11.88 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.543, allocations: 31.98 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.543, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5431, allocations: 19.83 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.5431, allocations: 12.16 kB / 1.024 GB, free: 11.43 MB / 0.7794 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 9.629e-05/0.5432, allocations: 139.1 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.5433, allocations: 15.8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.5433, allocations: 21.47 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.5433, allocations: 7.938 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5433, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5433, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.5435, allocations: 261.5 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.5436, allocations: 4 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.5437, allocations: 23.92 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5437, allocations: 0 / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5437, allocations: 11.98 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5437, allocations: 3.938 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5437, allocations: 0 / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.5441, allocations: 247.8 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.5441, allocations: 100.8 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.5442, allocations: 8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5443, allocations: 11.92 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.5444, allocations: 23.97 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.5444, allocations: 4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.231e-05/0.5444, allocations: 124.2 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5445, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002447/0.5447, allocations: 35.84 kB / 1.025 GB, free: 10.32 MB / 0.7794 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.0006022/0.5453, allocations: 0.7992 MB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.5457, allocations: 143.8 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5457, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.5459, allocations: 71.89 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.5462, allocations: 23.92 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.5482, allocations: 1.911 MB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.5485, allocations: 0.7319 MB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.658e-05/0.5486, allocations: 17.55 kB / 1.029 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.5487, allocations: 63.41 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5487, allocations: 0 / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/1.983, allocations: 3.133 MB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/12.2, allocations: 14.64 kB / 1.032 GB, free: 3.469 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches