Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008394/0.0008393, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.004865/0.004865, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.231/2.231, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12.19 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4845, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.001128/0.4857, allocations: 0.8124 MB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.4868, allocations: 0.9986 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.4869, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.4869, allocations: 11.86 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.487, allocations: 19.84 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.4872, allocations: 63.95 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.4874, allocations: 200.2 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4876, allocations: 116.2 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4877, allocations: 67.58 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/0.4878, allocations: 67.56 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.4879, allocations: 4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.4879, allocations: 8 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.4879, allocations: 23.86 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.488, allocations: 109.1 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.4882, allocations: 257.3 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4882, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4882, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.4882, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005443/0.4888, allocations: 455.2 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4888, allocations: 11.97 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.4889, allocations: 58.72 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.4889, allocations: 28.66 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.4894, allocations: 278.4 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4894, allocations: 16.81 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4894, allocations: 20.38 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.4898, allocations: 195.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4898, allocations: 3.938 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.4898, allocations: 12 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4898, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.4902, allocations: 165.6 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.4909, allocations: 0.5725 MB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.4912, allocations: 126.7 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.4914, allocations: 76.75 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4914, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.4914, allocations: 30.56 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 8.71e-07/0.4914, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005561/0.492, allocations: 227.5 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.492, allocations: 55.41 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4922, allocations: 174.3 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4922, allocations: 29.7 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.4923, allocations: 148.1 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.4923, allocations: 43.39 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.4923, allocations: 29.7 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.4924, allocations: 326.8 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.4926, allocations: 63.89 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.4928, allocations: 98.83 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.4931, allocations: 149 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4931, allocations: 0 / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003953/0.4935, allocations: 204 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4935, allocations: 8 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4935, allocations: 0 / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4936, allocations: 7.938 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4937, allocations: 35.91 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4937, allocations: 4 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4938, allocations: 23.83 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.4939, allocations: 12.06 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001123/0.494, allocations: 142.3 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.494, allocations: 11.84 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.4941, allocations: 25.45 kB / 1.03 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4941, allocations: 7.938 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4941, allocations: 0 / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4941, allocations: 0 / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4943, allocations: 261.5 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4943, allocations: 4 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.4945, allocations: 27.97 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4945, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4945, allocations: 4 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4945, allocations: 3.938 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4945, allocations: 0 / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.4949, allocations: 271.2 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.4949, allocations: 92.86 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.495, allocations: 0 / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4951, allocations: 23.92 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.4952, allocations: 15.98 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4952, allocations: 7.984 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.217e-05/0.4952, allocations: 121.8 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.4952, allocations: 0 / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002543/0.4955, allocations: 35.84 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0006011/0.4961, allocations: 0.7982 MB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003643/0.4965, allocations: 158.9 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4965, allocations: 0 / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4967, allocations: 76.2 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.497, allocations: 19.94 kB / 1.031 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4991, allocations: 2.011 MB / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4993, allocations: 0.7321 MB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.4994, allocations: 25.53 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.4995, allocations: 65.12 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.4995, allocations: 0 / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9273/1.427, allocations: 2.822 MB / 1.037 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/1.427, allocations: 277.4 kB / 1.037 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/3.048, allocations: 2.031 kB / 1.037 GB, free: 1.082 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches