Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.004939/0.004939, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001346/0.001346, allocations: 189.7 kB / 16.67 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.538/2.538, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 59.91 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2552, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00205/0.2573, allocations: 1.129 MB / 1.243 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2583, allocations: 1.018 MB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.2584, allocations: 4 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.754e-05/0.2585, allocations: 27.66 kB / 1.244 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.2586, allocations: 19.69 kB / 1.244 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2588, allocations: 87.84 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000211/0.259, allocations: 228.2 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.2592, allocations: 136.1 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2594, allocations: 99.52 kB / 1.245 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2595, allocations: 95.53 kB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.2595, allocations: 31.94 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.2596, allocations: 24 kB / 1.245 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.2596, allocations: 47.84 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.354e-05/0.2597, allocations: 107.4 kB / 1.245 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.26, allocations: 306.7 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.26, allocations: 0 / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.26, allocations: 0 / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.26, allocations: 0 / 1.245 GB, free: 6.48 MB / 0.9981 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.000642/0.2607, allocations: 0.4988 MB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.2607, allocations: 8.031 kB / 1.246 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.2608, allocations: 58.73 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.2608, allocations: 28.78 kB / 1.246 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2612, allocations: 282.9 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.2613, allocations: 20.8 kB / 1.246 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2613, allocations: 24.38 kB / 1.246 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.2617, allocations: 191.8 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2617, allocations: 3.938 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.2617, allocations: 12 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2617, allocations: 8 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.2621, allocations: 157.6 kB / 1.246 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007108/0.2628, allocations: 0.588 MB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.2631, allocations: 154.7 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.2633, allocations: 68.81 kB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.2633, allocations: 4 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2634, allocations: 34.5 kB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.113e-06/0.2634, allocations: 0 / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0005476/0.2639, allocations: 219.2 kB / 1.247 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.264, allocations: 51.41 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2641, allocations: 186.3 kB / 1.248 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2641, allocations: 25.7 kB / 1.248 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.2642, allocations: 148.4 kB / 1.248 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2643, allocations: 43.64 kB / 1.248 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.2644, allocations: 53.69 kB / 1.248 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2645, allocations: 330.8 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2647, allocations: 51.97 kB / 1.248 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2649, allocations: 107.3 kB / 1.248 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.2652, allocations: 143.8 kB / 1.249 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2652, allocations: 0 / 1.249 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003914/0.2656, allocations: 201.2 kB / 1.249 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2656, allocations: 7.938 kB / 1.249 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2656, allocations: 4 kB / 1.249 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.2656, allocations: 0 / 1.249 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2658, allocations: 35.91 kB / 1.249 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2658, allocations: 4.156 kB / 1.249 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2659, allocations: 27.88 kB / 1.249 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.2659, allocations: 4 kB / 1.249 GB, free: 2.484 MB / 0.9981 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.0001292/0.2661, allocations: 153.6 kB / 1.249 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.2661, allocations: 11.91 kB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.2662, allocations: 25.86 kB / 1.249 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2662, allocations: 7.938 kB / 1.249 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2662, allocations: 4 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2662, allocations: 0 / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.2664, allocations: 273.4 kB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2665, allocations: 4 kB / 1.249 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2666, allocations: 23.97 kB / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2666, allocations: 0 / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2666, allocations: 4 kB / 1.249 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2666, allocations: 4 kB / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2666, allocations: 0 / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.267, allocations: 271.2 kB / 1.25 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.2671, allocations: 92.95 kB / 1.25 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2671, allocations: 4 kB / 1.25 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2672, allocations: 7.984 kB / 1.25 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2673, allocations: 19.98 kB / 1.25 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2673, allocations: 7.984 kB / 1.25 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.573e-05/0.2674, allocations: 128.2 kB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2674, allocations: 0 / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002373/0.2676, allocations: 35.89 kB / 1.25 GB, free: 1.332 MB / 0.9981 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.0006757/0.2683, allocations: 0.8123 MB / 1.251 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.2687, allocations: 145.9 kB / 1.251 GB, free: 360 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2687, allocations: 0 / 1.251 GB, free: 360 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2689, allocations: 80.11 kB / 1.251 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.2691, allocations: 23.98 kB / 1.251 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4191/0.6882, allocations: 1.965 MB / 1.253 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.6884, allocations: 0.7349 MB / 1.253 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.6885, allocations: 23.36 kB / 1.254 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.706e-05/0.6886, allocations: 65.5 kB / 1.254 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.6886, allocations: 1.094 kB / 1.254 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.397/2.086, allocations: 3.284 MB / 1.257 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/16.49, allocations: 17.27 kB / 1.257 GB, free: 12.51 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches