Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006773/0.006773, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001685/0.001685, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 66.5 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2188, allocations: 140.4 MB / 1.088 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.00216/0.221, allocations: 1.108 MB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2222, allocations: 1.01 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.2223, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.394e-05/0.2224, allocations: 23.67 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2225, allocations: 23.73 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2227, allocations: 83.84 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.2229, allocations: 216.2 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.2231, allocations: 124.2 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.2233, allocations: 95.58 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.2234, allocations: 99.53 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.2235, allocations: 20 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.2235, allocations: 24 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.2236, allocations: 43.84 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.2237, allocations: 99.47 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.224, allocations: 285.8 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.224, allocations: 7.938 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.224, allocations: 3.938 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.224, allocations: 0 / 1.091 GB, free: 14.74 MB / 0.8575 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.000666/0.2247, allocations: 492 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2247, allocations: 8.031 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.2248, allocations: 54.73 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.2248, allocations: 24.64 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.2253, allocations: 272.3 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2253, allocations: 12.81 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.2253, allocations: 24.12 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2257, allocations: 187.3 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2257, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2257, allocations: 8 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2258, allocations: 8 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.2261, allocations: 153.6 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.2269, allocations: 0.5686 MB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.2272, allocations: 126.6 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2273, allocations: 68.81 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2274, allocations: 0 / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.2274, allocations: 38.5 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2274, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0005673/0.228, allocations: 207.4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.228, allocations: 55.41 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.2282, allocations: 183.7 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.2282, allocations: 29.7 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.2283, allocations: 140.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.2283, allocations: 35.45 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.2284, allocations: 49.7 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.2285, allocations: 326.8 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2286, allocations: 55.95 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.2288, allocations: 98.7 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.2292, allocations: 141 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2292, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003928/0.2296, allocations: 184.7 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2296, allocations: 11.94 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2296, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2296, allocations: 4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.2298, allocations: 31.91 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2298, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2299, allocations: 23.98 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2299, allocations: 11.94 kB / 1.094 GB, free: 10.9 MB / 0.8575 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.0001095/0.2301, allocations: 142.2 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.2301, allocations: 19.75 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.2302, allocations: 25.52 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2302, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2302, allocations: 4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2302, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2304, allocations: 273.5 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2304, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.2306, allocations: 19.98 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2306, allocations: 3.938 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2306, allocations: 0 / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2306, allocations: 3.984 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2306, allocations: 0 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.231, allocations: 251.3 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.231, allocations: 88.92 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2311, allocations: 7.938 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2312, allocations: 11.98 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.2313, allocations: 23.97 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2313, allocations: 3.984 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.47e-05/0.2314, allocations: 119.2 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2314, allocations: 0 / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002619/0.2316, allocations: 39.84 kB / 1.095 GB, free: 9.793 MB / 0.8575 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.0006344/0.2323, allocations: 0.798 MB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.2327, allocations: 143.8 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2327, allocations: 0 / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.2329, allocations: 74.64 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2332, allocations: 16 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.2354, allocations: 1.912 MB / 1.098 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2356, allocations: 0.7319 MB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.218e-05/0.2357, allocations: 21.55 kB / 1.099 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.2358, allocations: 63.41 kB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2358, allocations: 3.938 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/0.4145, allocations: 3.181 MB / 1.102 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.45, allocations: 9.781 kB / 1.102 GB, free: 2.891 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches