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 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.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.00472/0.00472, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.002425/0.002425, allocations: 197 kB / 16.68 MB, free: 5.48 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.56/2.56, allocations: 482.6 MB / 0.755 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 67.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2532, allocations: 162.3 MB / 1.242 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.00202/0.2553, allocations: 1.121 MB / 1.243 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2563, allocations: 1.018 MB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.2564, allocations: 4 kB / 1.244 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.535e-05/0.2565, allocations: 23.67 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.2566, allocations: 23.67 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.2567, allocations: 87.91 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.257, allocations: 228.2 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.2572, allocations: 132.1 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2573, allocations: 91.53 kB / 1.245 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2574, allocations: 103.5 kB / 1.245 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.2575, allocations: 28 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.962e-05/0.2575, allocations: 24 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.419e-05/0.2576, allocations: 51.84 kB / 1.245 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.2577, allocations: 103.4 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.2579, allocations: 306.7 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2579, allocations: 3.984 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.258, allocations: 0 / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.258, allocations: 0 / 1.245 GB, free: 6.426 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.000624/0.2586, allocations: 0.495 MB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2586, allocations: 11.97 kB / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.2587, allocations: 62.67 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.2587, allocations: 24.8 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2592, allocations: 286.5 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.2592, allocations: 12.81 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.2592, allocations: 20.38 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.2596, allocations: 199.8 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2596, allocations: 3.938 kB / 1.246 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.2596, allocations: 8 kB / 1.246 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2596, allocations: 8 kB / 1.246 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.26, allocations: 157.6 kB / 1.246 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/0.2607, allocations: 0.5957 MB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.261, allocations: 158.7 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.2612, allocations: 64.83 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2612, allocations: 4 kB / 1.247 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2613, allocations: 38.5 kB / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.2613, allocations: 0 / 1.247 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0005432/0.2618, allocations: 219.4 kB / 1.247 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.2619, allocations: 51.41 kB / 1.247 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.262, allocations: 186.3 kB / 1.248 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.262, allocations: 25.7 kB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.2621, allocations: 156.4 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.2622, allocations: 35.66 kB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.2622, allocations: 53.69 kB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2624, allocations: 326.8 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2625, allocations: 55.95 kB / 1.248 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.2627, allocations: 103.9 kB / 1.248 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.263, allocations: 151.7 kB / 1.249 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.263, allocations: 0 / 1.249 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003854/0.2634, allocations: 197.2 kB / 1.249 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.2634, allocations: 4 kB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2634, allocations: 160 / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2635, allocations: 8 kB / 1.249 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2636, allocations: 35.91 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2636, allocations: 0 / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.2637, allocations: 27.88 kB / 1.249 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2637, allocations: 4 kB / 1.249 GB, free: 2.426 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.0001194/0.2639, allocations: 145.7 kB / 1.249 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.2639, allocations: 19.91 kB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.264, allocations: 29.8 kB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.264, allocations: 0 / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.264, allocations: 0 / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.264, allocations: 0 / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.2642, allocations: 277.4 kB / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2643, allocations: 4 kB / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.2644, allocations: 19.98 kB / 1.249 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2644, allocations: 4 kB / 1.249 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2644, allocations: 3.984 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2644, allocations: 4 kB / 1.249 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2644, allocations: 0 / 1.249 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.2648, allocations: 265.5 kB / 1.25 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2649, allocations: 92.95 kB / 1.25 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2649, allocations: 11.98 kB / 1.25 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.265, allocations: 8 kB / 1.25 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.2651, allocations: 27.97 kB / 1.25 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2651, allocations: 4 kB / 1.25 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.189e-05/0.2652, allocations: 124.2 kB / 1.25 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2652, allocations: 0 / 1.25 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000235/0.2654, allocations: 35.89 kB / 1.25 GB, free: 1.277 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.0006732/0.2661, allocations: 0.8103 MB / 1.251 GB, free: 448 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.2665, allocations: 150 kB / 1.251 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2665, allocations: 4 kB / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.2666, allocations: 79.8 kB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.2669, allocations: 16 kB / 1.251 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4254/0.6923, allocations: 1.964 MB / 1.253 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.6925, allocations: 0.7357 MB / 1.253 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.296e-05/0.6926, allocations: 25.97 kB / 1.254 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.6927, allocations: 66.67 kB / 1.254 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.6927, allocations: 0.8125 kB / 1.254 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.487/6.18, allocations: 3.279 MB / 1.257 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/20.1, allocations: 15.89 kB / 1.257 GB, free: 11.94 MB / 0.9981 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=400 --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