Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001154/0.001154, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.221/2.221, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4791, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002179/0.4813, allocations: 1.175 MB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4823, allocations: 1.006 MB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.4824, allocations: 4 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/0.4825, allocations: 15.8 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.4826, allocations: 15.86 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.4828, allocations: 59.95 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.483, allocations: 224.2 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.4832, allocations: 120.2 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4834, allocations: 95.52 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4835, allocations: 99.53 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.4835, allocations: 24 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.648e-05/0.4836, allocations: 24 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.4836, allocations: 47.83 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.4837, allocations: 99.47 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4839, allocations: 277.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4839, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4839, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4839, allocations: 0 / 1.02 GB, free: 15.39 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.0005903/0.4845, allocations: 491 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.4846, allocations: 8.031 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.4846, allocations: 58.67 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.4847, allocations: 20.66 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.4851, allocations: 276.3 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.4851, allocations: 16.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4851, allocations: 24.38 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.4855, allocations: 187.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4855, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4855, allocations: 8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.4855, allocations: 8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.4859, allocations: 153.6 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.4866, allocations: 0.5647 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.4868, allocations: 126.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.487, allocations: 56.83 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.487, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.487, allocations: 42.55 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.4871, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005078/0.4876, allocations: 207.3 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.4876, allocations: 51.41 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4877, allocations: 174.3 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4878, allocations: 33.7 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.4878, allocations: 140.1 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4879, allocations: 39.47 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.4879, allocations: 53.69 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.488, allocations: 322.8 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4882, allocations: 47.97 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.4883, allocations: 102.5 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.4886, allocations: 138.8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4886, allocations: 3.938 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00037/0.489, allocations: 185.2 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.489, allocations: 8.156 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.489, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4891, allocations: 3.938 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.4892, allocations: 39.91 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4892, allocations: 4 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4894, allocations: 23.83 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.4894, allocations: 4 kB / 1.024 GB, free: 11.55 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.4895, allocations: 142.3 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4895, allocations: 15.81 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.4896, allocations: 25.52 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4896, allocations: 3.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4896, allocations: 3.938 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4896, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.4898, allocations: 257.6 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4898, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.4899, allocations: 23.97 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.49, allocations: 4 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.49, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.49, allocations: 3.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.49, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.4903, allocations: 255.9 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.4904, allocations: 96.86 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.4904, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4905, allocations: 15.92 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.4906, allocations: 19.98 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4906, allocations: 4 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.4907, allocations: 125.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4907, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002463/0.4909, allocations: 35.84 kB / 1.025 GB, free: 10.45 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.0005809/0.4915, allocations: 0.7916 MB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.4919, allocations: 152.7 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4919, allocations: 0 / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.4921, allocations: 73.3 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.4924, allocations: 23.88 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.4944, allocations: 1.971 MB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.4947, allocations: 0.7319 MB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.4948, allocations: 25.53 kB / 1.028 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.4949, allocations: 59.41 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4949, allocations: 0 / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4428/0.9377, allocations: 2.974 MB / 1.031 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.938, allocations: 287 kB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.528, allocations: 3.938 kB / 1.032 GB, free: 3.348 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches