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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008581/0.0008581, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.004908/0.004908, allocations: 172 kB / 16.26 MB, free: 6.613 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 12 kB / 0.873 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4963, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.001155/0.4975, allocations: 0.8124 MB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.4986, allocations: 0.9986 MB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.4987, allocations: 4 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.4987, allocations: 15.84 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.4988, allocations: 15.8 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.499, allocations: 63.95 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.4992, allocations: 204.2 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.4994, allocations: 124.2 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4995, allocations: 59.59 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.645e-05/0.4996, allocations: 67.56 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.4996, allocations: 4 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.4997, allocations: 8 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.4997, allocations: 27.84 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.4998, allocations: 101.2 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.5, allocations: 261.3 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5, allocations: 0 / 1.026 GB, free: 13.08 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.0005355/0.5006, allocations: 459.2 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5006, allocations: 16.03 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.5007, allocations: 50.73 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.5007, allocations: 24.66 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.5011, allocations: 289.9 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.5012, allocations: 12.81 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.5012, allocations: 24.38 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.5016, allocations: 195.6 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.5016, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.5016, allocations: 8 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5016, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.502, allocations: 161.7 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.5027, allocations: 0.5686 MB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.503, allocations: 142.5 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5031, allocations: 64.83 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.5032, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5032, allocations: 34.56 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.5032, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005577/0.5037, allocations: 233.2 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.5038, allocations: 55.41 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.5039, allocations: 174.3 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5039, allocations: 25.7 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.504, allocations: 144.2 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.5041, allocations: 43.39 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.5041, allocations: 33.7 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.5042, allocations: 322.8 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5044, allocations: 63.95 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.5045, allocations: 97.11 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.5049, allocations: 155.1 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5049, allocations: 0 / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004009/0.5053, allocations: 199.4 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5053, allocations: 8 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5053, allocations: 3.984 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.5053, allocations: 7.938 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5055, allocations: 27.98 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.5055, allocations: 4 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.5056, allocations: 35.92 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5056, allocations: 4 kB / 1.029 GB, free: 9.18 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 0.0001128/0.5058, allocations: 142.3 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.5058, allocations: 15.84 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.5058, allocations: 13.53 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5058, allocations: 7.938 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.5058, allocations: 0 / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5059, allocations: 4 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.5061, allocations: 265.5 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5061, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.5062, allocations: 27.92 kB / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5062, allocations: 0 / 1.03 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5063, allocations: 11.98 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5063, allocations: 7.938 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5063, allocations: 0 / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5067, allocations: 259.2 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.5067, allocations: 92.86 kB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5067, allocations: 0 / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5068, allocations: 27.86 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.5069, allocations: 19.97 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5069, allocations: 4 kB / 1.03 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.631e-05/0.507, allocations: 125.7 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.507, allocations: 0 / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002429/0.5073, allocations: 35.84 kB / 1.03 GB, free: 8.055 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.0006099/0.5079, allocations: 0.8049 MB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003604/0.5082, allocations: 151.7 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5083, allocations: 320 / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.5084, allocations: 80.73 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.5087, allocations: 23.92 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.5108, allocations: 2.016 MB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.5111, allocations: 0.7322 MB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.5112, allocations: 21.53 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.5113, allocations: 64.78 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5113, allocations: 0 / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8784/1.39, allocations: 2.816 MB / 1.037 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/1.39, allocations: 283.7 kB / 1.037 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.903, allocations: 0 / 1.037 GB, free: 1.062 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