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.002163/0.002163, allocations: 108 kB / 15.6 MB, free: 132 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.002108/0.002108, allocations: 191.4 kB / 16.53 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.432/2.432, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 71.67 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 159.2 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002169/0.2351, allocations: 1.123 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2362, allocations: 1.022 MB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.2362, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.2363, allocations: 23.67 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2364, allocations: 27.67 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2366, allocations: 83.91 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.2368, allocations: 224.2 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.237, allocations: 136 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.2372, allocations: 99.56 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2373, allocations: 95.55 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.2373, allocations: 24 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.117e-05/0.2374, allocations: 27.94 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.2374, allocations: 51.78 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.853e-05/0.2375, allocations: 99.47 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.2378, allocations: 311.2 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2378, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2378, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2378, 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.0006179/0.2384, allocations: 495.1 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.2385, allocations: 8.031 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.2385, allocations: 62.73 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.2386, allocations: 24.66 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.239, allocations: 280.2 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.239, allocations: 16.81 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.239, allocations: 20.38 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.2394, allocations: 203.8 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2394, allocations: 3.938 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.2394, allocations: 8 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2395, allocations: 8 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.2398, allocations: 157.7 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.2405, allocations: 0.5917 MB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.2409, allocations: 158.6 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.2411, allocations: 72.83 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2411, allocations: 3.984 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2411, allocations: 34.56 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.2411, allocations: 0 / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.0005368/0.2417, allocations: 218.9 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2417, allocations: 55.41 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2418, allocations: 187.9 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2419, allocations: 25.7 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.282e-05/0.242, allocations: 148.1 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.242, allocations: 43.39 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.2421, allocations: 49.7 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2422, allocations: 330.8 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2424, allocations: 55.97 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2425, allocations: 97.09 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.2428, allocations: 146.5 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2429, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003845/0.2432, allocations: 202.8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.2433, allocations: 4 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.2433, allocations: 3.938 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2433, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2434, allocations: 31.97 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2435, allocations: 3.938 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.2436, allocations: 23.83 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2436, allocations: 8.156 kB / 1.071 GB, free: 6.84 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.0001165/0.2437, allocations: 141.8 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.2437, allocations: 15.81 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.2438, allocations: 25.86 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2438, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2438, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2438, allocations: 0 / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2441, allocations: 281.3 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2441, allocations: 4 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.2442, allocations: 27.97 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2442, allocations: 4 kB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2442, allocations: 4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2442, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2442, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.2446, allocations: 269 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2447, allocations: 89 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.2447, allocations: 8 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2448, allocations: 7.984 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.2449, allocations: 23.92 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.2449, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.049e-05/0.245, allocations: 123.2 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.245, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002405/0.2452, allocations: 39.75 kB / 1.072 GB, free: 5.703 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.000671/0.2459, allocations: 0.8098 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.2463, allocations: 153.6 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2463, allocations: 3.938 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.2465, allocations: 75.95 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.0002424/0.2467, allocations: 23.92 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.2489, allocations: 1.966 MB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.2492, allocations: 0.7358 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.408e-05/0.2493, allocations: 21.55 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.2494, allocations: 67.41 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2494, allocations: 0 / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.489/2.739, allocations: 3.224 MB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/14.72, allocations: 8.812 kB / 1.079 GB, free: 14.65 MB / 0.8419 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