Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.0009771/0.0009772, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0011/0.0011, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.347/2.347, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 67.56 kB / 0.8986 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.226, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002207/0.2282, allocations: 1.188 MB / 1.053 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2294, allocations: 1.006 MB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2295, allocations: 7.938 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.004e-05/0.2296, allocations: 11.86 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2297, allocations: 19.84 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2299, allocations: 71.95 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.2301, allocations: 212.2 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2303, allocations: 124.1 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.2305, allocations: 83.62 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2306, allocations: 95.42 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.2306, allocations: 12 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.2307, allocations: 12 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2307, allocations: 43.78 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.2308, allocations: 95.44 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.231, allocations: 283.2 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.231, allocations: 4 kB / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.231, allocations: 0 / 1.055 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.231, allocations: 0 / 1.055 GB, free: 4.895 MB / 0.8106 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.000619/0.2317, allocations: 495.2 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2317, allocations: 11.97 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.2318, allocations: 54.73 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.2318, allocations: 32.48 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.2322, allocations: 279 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2322, allocations: 16.81 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2323, allocations: 24.36 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.2326, allocations: 199.8 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2327, allocations: 3.938 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.2327, allocations: 8 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2327, allocations: 8 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2331, allocations: 157.7 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.2338, allocations: 0.5917 MB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.2341, allocations: 158.6 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2343, allocations: 72.81 kB / 1.057 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2343, allocations: 4.062 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2344, allocations: 34.56 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.2344, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005329/0.2349, allocations: 210.5 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.235, allocations: 67.34 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2351, allocations: 175.7 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2351, allocations: 33.7 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2352, allocations: 136.2 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.2352, allocations: 47.3 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.611e-05/0.2353, allocations: 53.69 kB / 1.058 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.2354, allocations: 326.8 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2355, allocations: 55.97 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.2357, allocations: 98.03 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.236, allocations: 150.2 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.236, allocations: 0 / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003788/0.2364, allocations: 198.7 kB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2364, allocations: 8 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2365, allocations: 0 / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2365, allocations: 8 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2366, allocations: 31.91 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2367, allocations: 4 kB / 1.059 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.2368, allocations: 23.83 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2368, allocations: 12 kB / 1.059 GB, free: 0.9062 MB / 0.8106 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.0001264/0.2369, allocations: 141.9 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.237, allocations: 19.8 kB / 1.059 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.237, allocations: 21.86 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.237, allocations: 4 kB / 1.059 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.237, allocations: 0 / 1.059 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.237, allocations: 0 / 1.059 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.2373, allocations: 277.4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2373, allocations: 3.938 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.2374, allocations: 35.91 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2374, allocations: 0 / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2375, allocations: 4 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2375, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2375, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.2379, allocations: 261.7 kB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.2379, allocations: 96.86 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.2379, allocations: 4 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2381, allocations: 11.98 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.2381, allocations: 23.97 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.2381, allocations: 4 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.491e-05/0.2382, allocations: 120.2 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2382, allocations: 3.938 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002508/0.2385, allocations: 39.84 kB / 1.06 GB, free: 15.77 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.0006085/0.2391, allocations: 0.8077 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003486/0.2395, allocations: 153.3 kB / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.2395, allocations: 0 / 1.061 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2396, allocations: 75.89 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.2399, allocations: 21.81 kB / 1.061 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.2421, allocations: 2.025 MB / 1.063 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2423, allocations: 0.7283 MB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.2424, allocations: 25.53 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.2425, allocations: 59.42 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.2425, allocations: 0 / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.2587, allocations: 2.982 MB / 1.067 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/0.2589, allocations: 285 kB / 1.067 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/1.796, allocations: 2.578 kB / 1.067 GB, free: 8.566 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches