Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_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_11_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.004692/0.004692, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001332/0.001332, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.569/2.569, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2504, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002147/0.2526, allocations: 1.133 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2537, allocations: 1.014 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.2537, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.941e-05/0.2538, allocations: 23.67 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.2539, allocations: 23.67 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2541, allocations: 87.91 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.2543, allocations: 228.2 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.2545, allocations: 132.6 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2547, allocations: 95.58 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2548, allocations: 99.47 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.2549, allocations: 28 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.2549, allocations: 28 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.255, allocations: 47.84 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.859e-05/0.255, allocations: 103.4 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.2553, allocations: 306.7 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2553, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2554, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2554, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 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.0006511/0.256, allocations: 0.5027 MB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2561, allocations: 8.031 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.2561, allocations: 58.73 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.2562, allocations: 24.8 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.2566, allocations: 280.2 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.2566, allocations: 16.81 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.2567, allocations: 24.38 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.257, allocations: 195.8 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2571, allocations: 3.938 kB / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.2571, allocations: 16 kB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2571, allocations: 7.984 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.2575, allocations: 153.7 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.2582, allocations: 0.5958 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.2586, allocations: 154.6 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.2587, allocations: 72.67 kB / 1.226 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2588, allocations: 4 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2588, allocations: 38.55 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.2588, allocations: 0 / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0005551/0.2594, allocations: 213.4 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2594, allocations: 55.31 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2596, allocations: 190.8 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2596, allocations: 25.7 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.2597, allocations: 152.4 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.2597, allocations: 43.64 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.2598, allocations: 49.7 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2599, allocations: 330.8 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2601, allocations: 51.97 kB / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.2603, allocations: 102.8 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.2606, allocations: 147.2 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2606, allocations: 0 / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004205/0.2611, allocations: 203.1 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2611, allocations: 4 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2611, allocations: 4.156 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2611, allocations: 4 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2613, allocations: 35.91 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2613, allocations: 7.984 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.2614, allocations: 27.83 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2614, allocations: 4 kB / 1.227 GB, free: 6.91 MB / 0.9825 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.0001271/0.2616, allocations: 141.7 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.2616, allocations: 19.91 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.2616, allocations: 29.8 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2617, allocations: 3.938 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2617, allocations: 4 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2617, allocations: 0 / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.2619, allocations: 269.5 kB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2619, allocations: 0 / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.2621, allocations: 23.97 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2621, allocations: 0 / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2621, allocations: 4 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.2621, allocations: 8 kB / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2621, allocations: 0 / 1.228 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.2625, allocations: 263.2 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.2626, allocations: 96.94 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.2626, allocations: 4 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2627, allocations: 12 kB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.2628, allocations: 23.97 kB / 1.228 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2628, allocations: 7.938 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.184e-05/0.2629, allocations: 119.2 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2629, allocations: 0 / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002456/0.2632, allocations: 39.84 kB / 1.228 GB, free: 5.77 MB / 0.9825 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.0006992/0.2639, allocations: 0.8083 MB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.2642, allocations: 154.6 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2643, allocations: 4 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.2644, allocations: 75.89 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2647, allocations: 18.23 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.267, allocations: 1.968 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2673, allocations: 0.728 MB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.225e-05/0.2674, allocations: 33.52 kB / 1.232 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.2675, allocations: 69.39 kB / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2675, allocations: 0 / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9843/1.252, allocations: 3.275 MB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.65, allocations: 19.16 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches