Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_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.0007121/0.0007124, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004276/0.004277, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.339/2.339, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 8.562 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2567, allocations: 159.6 MB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001204/0.258, allocations: 0.7388 MB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2592, allocations: 0.9636 MB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.2593, allocations: 7.938 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.2593, allocations: 7.875 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2594, allocations: 19.84 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2596, allocations: 55.97 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.2598, allocations: 156 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2599, allocations: 88.28 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2601, allocations: 51.72 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.2602, allocations: 59.62 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2602, allocations: 4 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.2602, allocations: 8 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.2602, allocations: 19.92 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.2603, allocations: 81.31 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2605, allocations: 195.5 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2605, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2605, allocations: 0 / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.2605, allocations: 0 / 1.061 GB, free: 2.305 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005572/0.2611, allocations: 431 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2611, allocations: 15.97 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.025e-05/0.2612, allocations: 50.73 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2612, allocations: 20.66 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.2616, allocations: 261.5 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2617, allocations: 12.38 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.2617, allocations: 16.31 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.262, allocations: 158 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2621, allocations: 3.938 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.2621, allocations: 11.98 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2621, allocations: 0 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2624, allocations: 127.9 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.263, allocations: 496 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.2633, allocations: 126.7 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2635, allocations: 56.81 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.2635, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2635, allocations: 30.56 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.2636, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005241/0.2641, allocations: 201.4 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2641, allocations: 55.41 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2643, allocations: 152.6 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2643, allocations: 33.7 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2644, allocations: 120.2 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.2644, allocations: 43.39 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2644, allocations: 25.64 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.2645, allocations: 326.8 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2647, allocations: 51.95 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2648, allocations: 79.39 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.2651, allocations: 119.8 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2651, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003603/0.2655, allocations: 169.3 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2655, allocations: 13.81 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2655, allocations: 96 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2656, allocations: 8 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2657, allocations: 27.97 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2657, allocations: 0 / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2658, allocations: 23.83 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2659, allocations: 8 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.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 (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 prepare postOptimizeDAE: time 9.901e-05/0.266, allocations: 133.7 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.266, allocations: 7.906 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.2661, allocations: 20.7 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2661, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2661, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2661, allocations: 4 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.2663, allocations: 237.5 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2663, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2664, allocations: 19.98 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.2664, allocations: 8 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2665, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2665, allocations: 7.984 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2665, allocations: 3.938 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.2668, allocations: 251.2 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.2669, allocations: 88.95 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2669, allocations: 0 / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.267, allocations: 15.98 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2671, allocations: 15.98 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-06/0.2671, allocations: 4 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.2672, allocations: 117.1 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2672, allocations: 0 / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002339/0.2674, allocations: 31.84 kB / 1.065 GB, free: 13.79 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: 6 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0006175/0.268, allocations: 0.7826 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003417/0.2684, allocations: 123.9 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2684, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2686, allocations: 67.89 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2689, allocations: 24 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.2709, allocations: 1.822 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2711, allocations: 0.7123 MB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.2712, allocations: 17.08 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.2713, allocations: 43.42 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.2713, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.741/2.012, allocations: 2.417 MB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/2.012, allocations: 270 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/3.962, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches