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.002267/0.002267, 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.002178/0.002178, allocations: 195.8 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.472/2.472, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 68.28 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2355, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002255/0.2378, allocations: 1.133 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.239, allocations: 1.018 MB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.432e-05/0.2391, allocations: 4 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.943e-05/0.2391, allocations: 19.73 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2393, allocations: 31.66 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2395, allocations: 83.86 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.2397, allocations: 232.1 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.2399, allocations: 128.1 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.2401, allocations: 95.62 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2402, allocations: 95.53 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.2402, allocations: 28 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.194e-05/0.2403, allocations: 24 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.2403, allocations: 59.72 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.079e-05/0.2404, allocations: 107.5 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.2407, allocations: 299.2 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2407, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2407, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2407, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 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.0006611/0.2414, allocations: 499.1 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2414, allocations: 12.03 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.2415, allocations: 54.73 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.2416, allocations: 24.66 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.242, allocations: 280.2 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.242, allocations: 20.81 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.2421, allocations: 16.38 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.2424, allocations: 199.8 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2425, allocations: 3.938 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2425, allocations: 8 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2425, allocations: 4 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.2429, allocations: 165.6 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.2436, allocations: 0.5878 MB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.2439, allocations: 166.6 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.2441, allocations: 68.83 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2441, allocations: 0 / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2442, allocations: 38.5 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.2442, allocations: 0 / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0005584/0.2447, allocations: 222.8 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.2448, allocations: 55.41 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2449, allocations: 179.9 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.245, allocations: 29.7 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.245, allocations: 140.1 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.2451, allocations: 51.45 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.2452, allocations: 53.69 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2453, allocations: 326.8 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.2455, allocations: 55.95 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.2457, allocations: 97.05 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.246, allocations: 150.3 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.246, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003935/0.2464, allocations: 195 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.2464, allocations: 8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2464, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2464, allocations: 7.938 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2466, allocations: 31.92 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2466, allocations: 7.984 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2467, allocations: 20 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2467, allocations: 15.98 kB / 1.071 GB, free: 6.836 MB / 0.8262 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.0001332/0.2469, allocations: 137.7 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.2469, allocations: 15.81 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.247, allocations: 17.88 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.247, allocations: 4 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.247, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.247, allocations: 7.984 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.2473, allocations: 285.3 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2473, allocations: 0 / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2474, allocations: 19.98 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2474, allocations: 0 / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2474, allocations: 4 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2474, allocations: 0 / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2474, allocations: 0 / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.2478, allocations: 271.1 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.2479, allocations: 88.95 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2479, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.248, allocations: 19.97 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.2481, allocations: 19.97 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2481, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.874e-05/0.2482, allocations: 115.2 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2482, allocations: 4 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002517/0.2485, allocations: 47.75 kB / 1.072 GB, free: 5.699 MB / 0.8262 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.0006786/0.2492, allocations: 0.8058 MB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.2496, allocations: 161.9 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2496, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.2498, allocations: 75.89 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.25, allocations: 20.31 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.2523, allocations: 1.962 MB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2526, allocations: 0.7358 MB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.307e-05/0.2527, allocations: 17.55 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.2528, allocations: 67.41 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2528, allocations: 4 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.084/2.337, allocations: 3.236 MB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/10.97, allocations: 3.281 kB / 1.079 GB, free: 14.66 MB / 0.8419 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