Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.001233/0.001233, allocations: 108 kB / 15.61 MB, free: 152 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.001145/0.001145, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.189/1.189, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 66.62 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2091, allocations: 157.4 MB / 1.053 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002022/0.2112, allocations: 1.14 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000899/0.2121, allocations: 1.018 MB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.2122, allocations: 8 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.2122, allocations: 23.72 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.2123, allocations: 23.69 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.2125, allocations: 87.84 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2127, allocations: 232.1 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2129, allocations: 140 kB / 1.056 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.213, allocations: 83.66 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.803e-05/0.2131, allocations: 107.5 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.2132, allocations: 24 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.2132, allocations: 24 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.2133, allocations: 55.78 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.2133, allocations: 99.47 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.2135, allocations: 291.2 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2136, allocations: 4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2136, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2136, allocations: 0 / 1.056 GB, free: 4.84 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.0005539/0.2141, allocations: 496.6 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.2142, allocations: 12.62 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.2142, allocations: 54.73 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.2143, allocations: 28.56 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2147, allocations: 278.3 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2147, allocations: 16.81 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.2147, allocations: 28.31 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.215, allocations: 191.8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2151, allocations: 3.938 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2151, allocations: 12 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2151, allocations: 4 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.2154, allocations: 165.6 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.2161, allocations: 0.5956 MB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.2164, allocations: 158.7 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2166, allocations: 64.83 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2166, allocations: 12 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2166, allocations: 34.5 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2166, allocations: 0 / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005254/0.2171, allocations: 219.3 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.2172, allocations: 51.41 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2173, allocations: 187.9 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2173, allocations: 25.7 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.2174, allocations: 144.2 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.2174, allocations: 47.31 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.2175, allocations: 49.69 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.2176, allocations: 326.8 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.2177, allocations: 55.95 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.2179, allocations: 107.5 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.2182, allocations: 142.3 kB / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2182, allocations: 0 / 1.06 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003698/0.2186, allocations: 207.5 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2186, allocations: 4 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2186, allocations: 4 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.2186, allocations: 0 / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2188, allocations: 35.91 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2188, allocations: 4 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.2189, allocations: 23.83 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.2189, allocations: 4 kB / 1.06 GB, free: 0.8516 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.0001089/0.219, allocations: 154.2 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.2191, allocations: 15.81 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.2191, allocations: 25.86 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2191, allocations: 4 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.2191, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2191, allocations: 0 / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.2194, allocations: 277.3 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2194, allocations: 0 / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2195, allocations: 23.98 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2195, allocations: 0 / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2195, allocations: 7.984 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2195, allocations: 4 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2195, allocations: 0 / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.2199, allocations: 259.2 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.2199, allocations: 92.92 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.22, allocations: 3.984 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2201, allocations: 11.94 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2202, allocations: 19.97 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.2202, allocations: 8 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.2202, allocations: 124.2 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2202, allocations: 0 / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002418/0.2205, allocations: 39.84 kB / 1.061 GB, free: 15.71 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.0005703/0.2211, allocations: 0.8078 MB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.2214, allocations: 159.7 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2215, allocations: 0 / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.2216, allocations: 78.08 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.2219, allocations: 23.92 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.2238, allocations: 1.967 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2241, allocations: 0.7319 MB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.266e-05/0.2241, allocations: 21.55 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.2242, allocations: 63.41 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2243, allocations: 0 / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.205/1.429, allocations: 3.228 MB / 1.068 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.014/10.44, allocations: 7.906 kB / 1.068 GB, free: 8.668 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches