Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.001199/0.001199, 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.001123/0.001123, allocations: 197 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.439/2.439, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.62 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.233, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002438/0.2354, allocations: 1.445 MB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2365, allocations: 1.092 MB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2366, allocations: 4 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.029e-05/0.2367, allocations: 35.53 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2368, allocations: 39.53 kB / 1.056 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.237, allocations: 127.8 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.2373, allocations: 336.7 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002743/0.2376, allocations: 213.9 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2377, allocations: 135.5 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.2379, allocations: 151.2 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.2379, allocations: 40 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.886e-05/0.238, allocations: 40 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.238, allocations: 75.77 kB / 1.057 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2381, allocations: 163.1 kB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.2385, allocations: 462.7 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2385, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2385, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.2385, allocations: 3.938 kB / 1.057 GB, free: 3.871 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0006784/0.2392, allocations: 0.593 MB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2392, allocations: 12.03 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.2393, allocations: 66.72 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.2393, allocations: 40.47 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.2398, allocations: 325.4 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2398, allocations: 29.38 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.2399, allocations: 32.38 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.2403, allocations: 291.1 kB / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2403, allocations: 3.938 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2404, allocations: 16 kB / 1.059 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2404, allocations: 8 kB / 1.059 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.2409, allocations: 239.8 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.2418, allocations: 0.825 MB / 1.06 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.2422, allocations: 243.4 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2424, allocations: 121.3 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2425, allocations: 4.234 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2425, allocations: 38.73 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.293e-06/0.2425, allocations: 0 / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.0006487/0.2432, allocations: 320 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2432, allocations: 51.41 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2433, allocations: 215.5 kB / 1.061 GB, free: 244 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2434, allocations: 29.7 kB / 1.061 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.2435, allocations: 176.2 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.2435, allocations: 86.83 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-05/0.2436, allocations: 61.97 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.2437, allocations: 334.8 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.2439, allocations: 80.5 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2441, allocations: 143.9 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.2445, allocations: 214.7 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2445, allocations: 4 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004737/0.245, allocations: 282 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.245, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.245, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2451, allocations: 8.156 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.2453, allocations: 59.84 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2453, allocations: 4 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2454, allocations: 31.83 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2454, allocations: 12 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.2456, allocations: 153.8 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.2456, allocations: 19.72 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.2461, allocations: 264.2 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2461, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2461, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2461, allocations: 3.984 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.2464, allocations: 349.3 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2465, allocations: 4 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2466, allocations: 39.92 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2466, allocations: 3.984 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2467, allocations: 11.94 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2467, allocations: 0 / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2467, allocations: 0 / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.2471, allocations: 323.2 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2472, allocations: 108.8 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2472, allocations: 7.938 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2473, allocations: 11.98 kB / 1.063 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.2474, allocations: 27.97 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2474, allocations: 8 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.698e-05/0.2475, allocations: 133.5 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2475, allocations: 0 / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002679/0.2478, allocations: 63.69 kB / 1.063 GB, free: 13.05 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: 9 (actAirSet.or3.y,actAirSet.or2.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 (27): * Single equations (assignments): 27 * 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.0006854/0.2485, allocations: 0.878 MB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004804/0.249, allocations: 235.7 kB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.249, allocations: 0 / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.2492, allocations: 119.8 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2495, allocations: 27.47 kB / 1.065 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.2519, allocations: 2.4 MB / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2522, allocations: 0.7675 MB / 1.068 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.2523, allocations: 34.28 kB / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.2525, allocations: 95.41 kB / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2525, allocations: 0 / 1.068 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6097/0.8622, allocations: 4.021 MB / 1.072 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.976, allocations: 19.56 kB / 1.072 GB, free: 4.484 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches