Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.004773/0.004773, allocations: 100.8 kB / 15.73 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.001354/0.001354, allocations: 194 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.214/1.214, 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 10.1.1-maint.10.0.x/package.mo): time 2.219/2.219, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 67.89 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.5933, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001994/0.5953, allocations: 1.129 MB / 1.167 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.5964, allocations: 1.01 MB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.943e-05/0.5964, allocations: 4 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.5965, allocations: 23.67 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.714e-05/0.5966, allocations: 23.73 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.5968, allocations: 79.84 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.597, allocations: 220.2 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.5972, allocations: 120.2 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.5974, allocations: 91.64 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.5975, allocations: 99.53 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.5975, allocations: 27.88 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.5976, allocations: 24 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.5976, allocations: 43.84 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.5977, allocations: 103.5 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.598, allocations: 286.5 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.598, allocations: 3.938 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.112e-06/0.598, allocations: 0 / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.598, allocations: 0 / 1.169 GB, free: 448 kB / 0.8887 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.0006386/0.5987, allocations: 0.4949 MB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.5987, allocations: 8.922 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.5988, allocations: 54.73 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.5988, allocations: 24.8 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.5992, allocations: 272.4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.5992, allocations: 16.81 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5993, allocations: 16.38 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.5996, allocations: 195.6 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5996, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5997, allocations: 8 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5997, allocations: 4 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.6, allocations: 153.6 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.6007, allocations: 0.561 MB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.601, allocations: 122.7 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.6012, allocations: 68.8 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.6012, allocations: 4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.6012, allocations: 34.5 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.6013, allocations: 0 / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0005298/0.6018, allocations: 207.3 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.6018, allocations: 55.41 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.602, allocations: 178.8 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.602, allocations: 33.64 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.6021, allocations: 144.4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.6021, allocations: 35.7 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/0.6022, allocations: 57.64 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6023, allocations: 326.8 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.6025, allocations: 51.95 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.6027, allocations: 95.28 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.603, allocations: 141 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.603, allocations: 4 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003787/0.6034, allocations: 180.5 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6034, allocations: 11.94 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.6034, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6034, allocations: 11.94 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.6036, allocations: 32.06 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6036, allocations: 11.94 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.6037, allocations: 23.88 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.6037, allocations: 4 kB / 1.173 GB, free: 12.58 MB / 0.9044 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.0001129/0.6038, allocations: 137.8 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.6039, allocations: 15.91 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.6039, allocations: 21.52 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.6039, allocations: 7.938 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6039, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.6039, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.6042, allocations: 269.5 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.6042, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.6043, allocations: 19.98 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6043, allocations: 0 / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6044, allocations: 4 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.6044, allocations: 3.938 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6044, allocations: 0 / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.6047, allocations: 259.2 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.6048, allocations: 89.02 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.6048, allocations: 0 / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6049, allocations: 19.92 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/0.605, allocations: 19.97 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.605, allocations: 4 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.6051, allocations: 124.2 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.6051, allocations: 0 / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002328/0.6054, allocations: 35.89 kB / 1.174 GB, free: 11.48 MB / 0.9044 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.000658/0.606, allocations: 0.7982 MB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.6064, allocations: 137.2 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6064, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.6066, allocations: 72.2 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.6068, allocations: 26.17 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.609, allocations: 1.928 MB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.6093, allocations: 0.7319 MB / 1.177 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.6094, allocations: 21.53 kB / 1.178 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.624e-05/0.6095, allocations: 63.41 kB / 1.178 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.6095, allocations: 0 / 1.178 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7137/1.323, allocations: 3.166 MB / 1.181 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/10.1, allocations: 27.69 kB / 1.181 GB, free: 4.57 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches