Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005456/0.005456, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001656/0.001656, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.465/2.465, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 59.91 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6951/0.697, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002125/0.6991, allocations: 1.139 MB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.7002, allocations: 1.015 MB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.7003, allocations: 4 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.466e-05/0.7004, allocations: 23.67 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.7005, allocations: 31.67 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.7007, allocations: 83.91 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.7009, allocations: 224.2 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002215/0.7011, allocations: 136.6 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.7013, allocations: 91.59 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.7014, allocations: 107.5 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.7014, allocations: 24 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-05/0.7015, allocations: 24 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.7015, allocations: 55.78 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.7016, allocations: 99.41 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.7019, allocations: 306.4 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7019, allocations: 7.984 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7019, allocations: 0 / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.702, allocations: 0 / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006527/0.7026, allocations: 0.4911 MB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.7027, allocations: 12.03 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.7027, allocations: 50.73 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.7028, allocations: 24.8 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.7032, allocations: 296.2 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.7032, allocations: 20.81 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.7033, allocations: 20.38 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.7037, allocations: 195.8 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7037, allocations: 3.938 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.7037, allocations: 8 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7037, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.7041, allocations: 165.6 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.7048, allocations: 0.5841 MB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.7052, allocations: 163.8 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.7053, allocations: 60.83 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.7054, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.7054, allocations: 38.56 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.7054, allocations: 3.938 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17): time 0.0005663/0.706, allocations: 219.5 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.706, allocations: 55.41 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.7062, allocations: 182.3 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.7062, allocations: 29.7 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.7063, allocations: 144.4 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.7063, allocations: 47.64 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.7064, allocations: 49.7 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7065, allocations: 330.8 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.7067, allocations: 51.95 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.7069, allocations: 103.1 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.7072, allocations: 147 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7072, allocations: 0 / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003976/0.7076, allocations: 197.3 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.7076, allocations: 8 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7077, allocations: 0 / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7077, allocations: 7.938 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.7078, allocations: 31.91 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7079, allocations: 4 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.708, allocations: 31.98 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.708, allocations: 8 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0001307/0.7081, allocations: 146.8 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.7082, allocations: 15.91 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.7082, allocations: 17.86 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.7082, allocations: 8 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7082, allocations: 0 / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7082, allocations: 0 / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.7085, allocations: 281.4 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7085, allocations: 0 / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.7086, allocations: 19.98 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.7086, allocations: 3.938 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.7087, allocations: 11.98 kB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7087, allocations: 0 / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.7087, allocations: 0 / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.7091, allocations: 265.3 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.7091, allocations: 92.95 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.7092, allocations: 3.984 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7093, allocations: 12 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.7093, allocations: 19.97 kB / 1.228 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.7094, allocations: 8 kB / 1.228 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.7095, allocations: 120.2 kB / 1.228 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7095, allocations: 4 kB / 1.228 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002528/0.7097, allocations: 43.84 kB / 1.228 GB, free: 9.535 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * 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.0006974/0.7104, allocations: 0.8163 MB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.7108, allocations: 147.8 kB / 1.229 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7108, allocations: 0 / 1.229 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.711, allocations: 79.89 kB / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.7113, allocations: 19.38 kB / 1.229 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.7135, allocations: 1.987 MB / 1.231 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.7139, allocations: 0.7319 MB / 1.232 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.838e-05/0.714, allocations: 21.53 kB / 1.232 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.7141, allocations: 67.41 kB / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.7141, allocations: 0 / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.717/2.431, allocations: 3.277 MB / 1.235 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/14.47, allocations: 11.17 kB / 1.235 GB, free: 2.445 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches