Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.CoolingOnly.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_9_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_9_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.001082/0.001082, 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.001076/0.001076, allocations: 196.7 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.114/2.114, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 67.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4918, allocations: 140.4 MB / 0.9498 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001737/0.4935, allocations: 0.9934 MB / 0.9507 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.4943, allocations: 0.978 MB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.4943, allocations: 3 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.4944, allocations: 15.8 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.001e-05/0.4945, allocations: 25.14 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.4946, allocations: 60.97 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.4948, allocations: 165.2 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.4949, allocations: 96.05 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.495, allocations: 71.98 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.4951, allocations: 68.41 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.4951, allocations: 15.69 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.327e-05/0.4952, allocations: 16.28 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.4952, allocations: 41.22 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.4953, allocations: 68.89 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.4954, allocations: 202.8 kB / 0.9525 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.4954, allocations: 4 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4954, allocations: 1.375 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.4954, allocations: 0 / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0004603/0.4959, allocations: 453.6 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.4959, allocations: 10.28 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.496, allocations: 51.42 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.496, allocations: 16 kB / 0.953 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.4963, allocations: 249.4 kB / 0.9533 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.4963, allocations: 10.66 kB / 0.9533 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.4964, allocations: 13.03 kB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.4966, allocations: 156 kB / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.4967, allocations: 0 / 0.9534 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4967, allocations: 5.5 kB / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4967, allocations: 2.938 kB / 0.9534 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.497, allocations: 113.7 kB / 0.9536 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.4975, allocations: 487.1 kB / 0.954 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4977, allocations: 103.2 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.4978, allocations: 53.03 kB / 0.9542 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4979, allocations: 5.703 kB / 0.9542 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.4979, allocations: 40.12 kB / 0.9542 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.4979, allocations: 3.938 kB / 0.9542 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004569/0.4983, allocations: 159.8 kB / 0.9544 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.4984, allocations: 60.83 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.4985, allocations: 152.4 kB / 0.9546 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.4985, allocations: 25.7 kB / 0.9546 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.4985, allocations: 132.3 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.4985, allocations: 27.38 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.4986, allocations: 37.86 kB / 0.9548 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.4986, allocations: 326.1 kB / 0.9551 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4988, allocations: 46.33 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.4989, allocations: 69.47 kB / 0.9552 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.4991, allocations: 108.7 kB / 0.9553 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4992, allocations: 1.312 kB / 0.9553 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003026/0.4995, allocations: 155.5 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.4995, allocations: 7.094 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4995, allocations: 0 / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.4995, allocations: 2.75 kB / 0.9555 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4996, allocations: 26.25 kB / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4997, allocations: 1.406 kB / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.4998, allocations: 26.78 kB / 0.9555 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4998, allocations: 7.297 kB / 0.9555 GB, free: 4.289 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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 6.581e-05/0.4998, allocations: 127.8 kB / 0.9556 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.4999, allocations: 8.594 kB / 0.9557 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.4999, allocations: 15.19 kB / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4999, allocations: 1.188 kB / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.4999, allocations: 0 / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4999, allocations: 9.109 kB / 0.9557 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.5001, allocations: 229 kB / 0.9559 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.5001, allocations: 5.469 kB / 0.9559 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5002, allocations: 22.12 kB / 0.9559 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5002, allocations: 0 / 0.9559 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.5002, allocations: 5.5 kB / 0.9559 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5002, allocations: 0 / 0.9559 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5002, allocations: 5.375 kB / 0.9559 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.5005, allocations: 228.1 kB / 0.9562 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.5006, allocations: 92.33 kB / 0.9562 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.5006, allocations: 9.219 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5007, allocations: 9.203 kB / 0.9563 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.5008, allocations: 18.78 kB / 0.9563 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5008, allocations: 9.422 kB / 0.9563 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.5008, allocations: 110 kB / 0.9564 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5008, allocations: 0 / 0.9564 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002267/0.5011, allocations: 25.72 kB / 0.9564 GB, free: 3.461 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004314/0.5015, allocations: 0.7741 MB / 0.9572 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.5018, allocations: 106.5 kB / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5018, allocations: 0 / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.502, allocations: 65.2 kB / 0.9573 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.5023, allocations: 18.19 kB / 0.9574 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.5041, allocations: 1.717 MB / 0.959 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.5042, allocations: 0.7178 MB / 0.9597 GB, free: 440 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.243e-05/0.5043, allocations: 12.47 kB / 0.9597 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.5044, allocations: 47.62 kB / 0.9598 GB, free: 396 kB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5044, allocations: 0 / 0.9598 GB, free: 396 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/0.749, allocations: 2.828 MB / 0.9625 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.751, allocations: 8.469 kB / 0.9626 GB, free: 14.98 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches