Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.001278/0.001282, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.221/1.221, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.408/2.408, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.77 kB / 0.8993 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2224, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002175/0.2246, allocations: 1.141 MB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2257, allocations: 1.022 MB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.2258, allocations: 8 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.873e-05/0.2258, allocations: 19.73 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.226, allocations: 31.66 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.2262, allocations: 83.86 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2264, allocations: 220.2 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.2266, allocations: 136 kB / 1.056 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2267, allocations: 103.5 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2268, allocations: 99.53 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.2269, allocations: 24 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.857e-05/0.2269, allocations: 24 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.2269, allocations: 51.78 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.227, allocations: 99.47 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2273, allocations: 299.2 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.2273, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2273, allocations: 4 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2273, allocations: 0 / 1.056 GB, free: 4.867 MB / 0.8106 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.0005858/0.2279, allocations: 491.2 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2279, allocations: 8.625 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.228, allocations: 62.72 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.228, allocations: 28.56 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.2284, allocations: 280.2 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2285, allocations: 16.81 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.2285, allocations: 20.38 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.2288, allocations: 199.8 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2289, allocations: 3.938 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.2289, allocations: 8 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2289, allocations: 8 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.2293, allocations: 161.6 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.23, allocations: 0.5917 MB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.2303, allocations: 158.7 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2304, allocations: 72.81 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.2305, allocations: 4 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2305, allocations: 38.5 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.2305, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005383/0.231, allocations: 212.7 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.2311, allocations: 59.39 kB / 1.059 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2312, allocations: 183.9 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.2312, allocations: 29.7 kB / 1.059 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.2313, allocations: 140.2 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.2313, allocations: 47.3 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.2314, allocations: 53.69 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.2315, allocations: 326.8 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2317, allocations: 55.95 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2318, allocations: 103.5 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.2321, allocations: 144.9 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2322, allocations: 3.938 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003717/0.2325, allocations: 194.6 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2326, allocations: 12.03 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2326, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2326, allocations: 4 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2327, allocations: 31.92 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2328, allocations: 0 / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.2329, allocations: 23.83 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2329, allocations: 8 kB / 1.06 GB, free: 0.8828 MB / 0.8106 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.0001249/0.233, allocations: 155.7 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.2331, allocations: 15.81 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.2331, allocations: 17.88 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2331, allocations: 4 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2331, allocations: 4 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2331, allocations: 3.984 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.2334, allocations: 281.3 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2334, allocations: 0 / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.2335, allocations: 23.98 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2335, allocations: 4 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2335, allocations: 4 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2335, allocations: 0 / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2335, allocations: 0 / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.2339, allocations: 265.2 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.234, allocations: 88.92 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.234, allocations: 8 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2341, allocations: 11.98 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.2342, allocations: 27.91 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2342, allocations: 4 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.2343, allocations: 120.2 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2343, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002455/0.2345, allocations: 39.84 kB / 1.061 GB, free: 15.74 MB / 0.8262 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.0006036/0.2351, allocations: 0.8125 MB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2355, allocations: 161.8 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2355, allocations: 0 / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.2357, allocations: 79.89 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.236, allocations: 19.94 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.238, allocations: 1.966 MB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.2383, allocations: 0.7319 MB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.857e-05/0.2384, allocations: 25.53 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.2385, allocations: 63.41 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2385, allocations: 4 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.521/2.759, allocations: 3.223 MB / 1.068 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/13.9, allocations: 7.484 kB / 1.068 GB, free: 8.688 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches