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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004909/0.004909, allocations: 99.31 kB / 15.73 MB, free: 6.059 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.001312/0.001312, allocations: 192 kB / 16.68 MB, free: 5.969 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.414/2.414, allocations: 482.6 MB / 0.7551 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 60.23 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2473, allocations: 162.3 MB / 1.242 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001923/0.2492, allocations: 1.018 MB / 1.243 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2503, allocations: 0.9752 MB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.2503, allocations: 4 kB / 1.244 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.439e-05/0.2504, allocations: 19.73 kB / 1.244 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.2505, allocations: 15.8 kB / 1.244 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.2507, allocations: 67.88 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.2509, allocations: 164.1 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.251, allocations: 100.3 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2512, allocations: 71.66 kB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.558e-05/0.2513, allocations: 71.67 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.2513, allocations: 16 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.614e-05/0.2513, allocations: 20 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.2514, allocations: 43.78 kB / 1.244 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.2515, allocations: 79.59 kB / 1.244 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2517, allocations: 219.3 kB / 1.245 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2517, allocations: 11.92 kB / 1.245 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2517, allocations: 0 / 1.245 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2517, allocations: 0 / 1.245 GB, free: 6.156 MB / 0.9669 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.0005987/0.2523, allocations: 450.7 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2524, allocations: 8.031 kB / 1.245 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.2524, allocations: 50.73 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.2524, allocations: 16.84 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.2528, allocations: 256.1 kB / 1.245 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.2529, allocations: 12.38 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2529, allocations: 12.38 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.2532, allocations: 150.6 kB / 1.246 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2532, allocations: 3.938 kB / 1.246 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.2533, allocations: 8 kB / 1.246 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2533, allocations: 4 kB / 1.246 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.2536, allocations: 119.9 kB / 1.246 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.2542, allocations: 492.1 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.2545, allocations: 122.6 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2547, allocations: 52.83 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.2547, allocations: 7.984 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2547, allocations: 30.56 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2547, allocations: 0 / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0005186/0.2553, allocations: 181.4 kB / 1.247 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.2553, allocations: 55.41 kB / 1.247 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2554, allocations: 153 kB / 1.247 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2555, allocations: 29.7 kB / 1.247 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.2555, allocations: 120.3 kB / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.2556, allocations: 35.69 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.2556, allocations: 41.7 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2558, allocations: 326.7 kB / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2559, allocations: 47.97 kB / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2561, allocations: 73.22 kB / 1.247 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.2564, allocations: 115.7 kB / 1.248 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2564, allocations: 3.938 kB / 1.248 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003445/0.2567, allocations: 145.5 kB / 1.248 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2567, allocations: 5.875 kB / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2568, allocations: 8.094 kB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2568, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2569, allocations: 31.92 kB / 1.248 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2569, allocations: 3.984 kB / 1.248 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.257, allocations: 15.89 kB / 1.248 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2571, allocations: 11.92 kB / 1.248 GB, free: 2.762 MB / 0.9669 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 0.0001047/0.2572, allocations: 129.8 kB / 1.248 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.2572, allocations: 19.91 kB / 1.248 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.2572, allocations: 12.72 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2572, allocations: 4 kB / 1.248 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.2573, allocations: 4 kB / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2573, allocations: 0 / 1.248 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2575, allocations: 233.5 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2575, allocations: 0 / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2576, allocations: 35.84 kB / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2576, allocations: 0 / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2577, allocations: 0 / 1.248 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2577, allocations: 8 kB / 1.248 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2577, allocations: 0 / 1.248 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.258, allocations: 231.3 kB / 1.248 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.2581, allocations: 89 kB / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2581, allocations: 0 / 1.248 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2582, allocations: 15.98 kB / 1.249 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.2583, allocations: 19.97 kB / 1.249 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2583, allocations: 4 kB / 1.249 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.2584, allocations: 114 kB / 1.249 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2584, allocations: 0 / 1.249 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002332/0.2586, allocations: 27.95 kB / 1.249 GB, free: 1.742 MB / 0.9669 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.0006471/0.2593, allocations: 0.7789 MB / 1.249 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.2596, allocations: 111.8 kB / 1.25 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2596, allocations: 192 / 1.25 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.2598, allocations: 63.91 kB / 1.25 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.2601, allocations: 24.69 kB / 1.25 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.2621, allocations: 1.743 MB / 1.251 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2624, allocations: 0.7162 MB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.36e-05/0.2625, allocations: 17.08 kB / 1.252 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.2626, allocations: 43.42 kB / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.2626, allocations: 0 / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.772/3.035, allocations: 2.776 MB / 1.255 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.973/13.01, allocations: 8.062 kB / 1.255 GB, free: 11.52 MB / 0.9825 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=400 --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