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.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001169/0.001169, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.205/2.205, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4692, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002202/0.4715, allocations: 1.178 MB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.4725, allocations: 0.9986 MB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.4726, allocations: 8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.25e-05/0.4727, allocations: 15.8 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.4728, allocations: 19.84 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.473, allocations: 63.95 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.4731, allocations: 196.2 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4733, allocations: 121.8 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4735, allocations: 87.56 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.4736, allocations: 83.55 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.4736, allocations: 12.05 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.4737, allocations: 12 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.4737, allocations: 39.8 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.4738, allocations: 87.45 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.474, allocations: 265.4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.474, allocations: 3.984 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.81e-07/0.474, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.474, allocations: 4 kB / 1.02 GB, free: 15.59 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.0005956/0.4746, allocations: 491.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.4746, allocations: 8.031 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.4747, allocations: 58.73 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.4747, allocations: 28.59 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.4751, allocations: 269.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4752, allocations: 24.81 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.4752, allocations: 16.38 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.4755, allocations: 187.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4756, allocations: 7.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.4756, allocations: 11.94 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4756, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.4759, allocations: 149.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.4766, allocations: 0.5686 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.4769, allocations: 126.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.4771, allocations: 60.83 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.4771, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.4771, allocations: 38.56 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.012e-06/0.4771, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005256/0.4776, allocations: 207.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.4777, allocations: 55.41 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.4778, allocations: 170.3 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4778, allocations: 29.7 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.4779, allocations: 152.1 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4779, allocations: 39.39 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.478, allocations: 49.7 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.4781, allocations: 330.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4782, allocations: 47.97 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.4784, allocations: 94.83 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.4787, allocations: 141 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4787, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003587/0.4791, allocations: 187.3 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4791, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4791, allocations: 4.156 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4791, allocations: 7.938 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4793, allocations: 27.92 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4793, allocations: 7.984 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4794, allocations: 19.84 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.4794, allocations: 7.984 kB / 1.023 GB, free: 11.75 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.0001006/0.4795, allocations: 146.3 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.4796, allocations: 19.81 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.4796, allocations: 17.53 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4796, allocations: 3.938 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4796, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4796, allocations: 3.984 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.4799, allocations: 265.5 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4799, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.48, allocations: 23.97 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.48, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.48, allocations: 3.938 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.48, allocations: 7.938 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.48, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.4804, allocations: 255.2 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.4804, allocations: 92.86 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4805, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4806, allocations: 27.92 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.4807, allocations: 19.97 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4807, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.4808, allocations: 121.8 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4808, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00025/0.481, allocations: 35.84 kB / 1.024 GB, free: 10.64 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.0005916/0.4816, allocations: 0.7957 MB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.482, allocations: 144.6 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.482, allocations: 4.312 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4821, allocations: 63.91 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4824, allocations: 23.92 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4844, allocations: 1.973 MB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4847, allocations: 0.7244 MB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000102/0.4848, allocations: 25.55 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.172e-05/0.4849, allocations: 59.41 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4849, allocations: 0 / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/0.8828, allocations: 2.88 MB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.8831, allocations: 281.7 kB / 1.031 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.617, allocations: 6.062 kB / 1.031 GB, free: 3.621 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