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.Overrides.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",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.002167/0.002167, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002197/0.002197, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.241/1.241, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.495/2.495, allocations: 482.4 MB / 0.7544 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 69.12 kB / 0.9235 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2341, allocations: 162.2 MB / 1.082 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.002738/0.2369, allocations: 1.791 MB / 1.084 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2381, allocations: 1.139 MB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.2382, allocations: 8 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.211e-05/0.2383, allocations: 35.58 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.2384, allocations: 35.72 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.2387, allocations: 159.8 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.2391, allocations: 0.4971 MB / 1.086 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.2395, allocations: 288.6 kB / 1.086 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.2397, allocations: 203.2 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2399, allocations: 238.9 kB / 1.086 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.014e-05/0.24, allocations: 60 kB / 1.086 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.2401, allocations: 59.94 kB / 1.086 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.2402, allocations: 119.7 kB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.2403, allocations: 238.7 kB / 1.087 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.2409, allocations: 0.6698 MB / 1.087 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2409, allocations: 0 / 1.087 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2409, allocations: 4 kB / 1.087 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2409, allocations: 0 / 1.087 GB, free: 7.91 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001165/0.242, allocations: 0.7563 MB / 1.088 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.2421, allocations: 8.031 kB / 1.088 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.957e-05/0.2422, allocations: 94.64 kB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.2423, allocations: 56.28 kB / 1.088 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.2433, allocations: 488 kB / 1.089 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.2434, allocations: 45.31 kB / 1.089 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.2434, allocations: 40.38 kB / 1.089 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.2444, allocations: 0.5025 MB / 1.089 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2444, allocations: 3.938 kB / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.2444, allocations: 16 kB / 1.089 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2445, allocations: 12 kB / 1.089 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.2456, allocations: 429.9 kB / 1.09 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.2471, allocations: 1.251 MB / 1.091 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.2479, allocations: 415.7 kB / 1.091 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.2485, allocations: 218.5 kB / 1.092 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.2485, allocations: 7.984 kB / 1.092 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2485, allocations: 46.5 kB / 1.092 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.413e-06/0.2486, allocations: 0 / 1.092 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001614/0.2502, allocations: 0.5652 MB / 1.092 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.2502, allocations: 114.8 kB / 1.092 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.2505, allocations: 282.7 kB / 1.092 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2505, allocations: 33.7 kB / 1.093 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2507, allocations: 224.2 kB / 1.093 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.2508, allocations: 110.4 kB / 1.093 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2509, allocations: 98.02 kB / 1.093 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.251, allocations: 346.8 kB / 1.093 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.2515, allocations: 168.7 kB / 1.093 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/0.252, allocations: 253.5 kB / 1.094 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.253, allocations: 391.6 kB / 1.094 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.253, allocations: 4 kB / 1.094 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001089/0.2541, allocations: 464.9 kB / 1.094 GB, free: 212 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2541, allocations: 8 kB / 1.095 GB, free: 204 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2541, allocations: 7.984 kB / 1.095 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2542, allocations: 7.938 kB / 1.095 GB, free: 188 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.2546, allocations: 95.86 kB / 1.095 GB, free: 92 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2546, allocations: 7.938 kB / 1.095 GB, free: 84 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.2549, allocations: 59.77 kB / 1.095 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.2549, allocations: 19.98 kB / 1.095 GB, free: 4 kB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.000194/0.2551, allocations: 181.4 kB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/0.2552, allocations: 31.62 kB / 1.095 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.2553, allocations: 46.2 kB / 1.095 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.2553, allocations: 7.938 kB / 1.095 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2553, allocations: 7.938 kB / 1.095 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2553, allocations: 3.984 kB / 1.095 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.2559, allocations: 457.1 kB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2559, allocations: 4 kB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.2563, allocations: 83.8 kB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2563, allocations: 4 kB / 1.095 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.2563, allocations: 12 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2563, allocations: 7.922 kB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2563, allocations: 4 kB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.2575, allocations: 0.6494 MB / 1.096 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.2575, allocations: 108.6 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.2576, allocations: 8 kB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.2579, allocations: 51.88 kB / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2581, allocations: 63.83 kB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.2581, allocations: 12 kB / 1.096 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001355/0.2582, allocations: 178 kB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.2582, allocations: 0 / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003827/0.2586, allocations: 91.59 kB / 1.097 GB, free: 13.92 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001448/0.2601, allocations: 1.229 MB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2612, allocations: 431.9 kB / 1.098 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2612, allocations: 4 kB / 1.098 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.2618, allocations: 236.6 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.2623, allocations: 48.81 kB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005066/0.2674, allocations: 3.652 MB / 1.102 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.2677, allocations: 0.8193 MB / 1.103 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.268, allocations: 59.25 kB / 1.103 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.2682, allocations: 159.4 kB / 1.103 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2682, allocations: 0 / 1.103 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/0.7516, allocations: 6.499 MB / 1.109 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000416/0.7521, allocations: 283.9 kB / 1.11 GB, free: 484 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.733, allocations: 2.625 kB / 1.11 GB, free: 484 kB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches