Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 110.3 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 215.8 kB / 22.25 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.535/1.535, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.935/2.935, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 68.64 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.315, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002831/0.3178, allocations: 0.5965 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.3204, allocations: 1.145 MB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.3204, allocations: 0 / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.3205, allocations: 7.938 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.3206, allocations: 15.92 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.3214, allocations: 115.2 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.3217, allocations: 79.89 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3219, allocations: 15.97 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.322, allocations: 27.98 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3221, allocations: 31.91 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.3222, allocations: 11.94 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3223, allocations: 23.97 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.3223, allocations: 7.984 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.3224, allocations: 27.92 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.3227, allocations: 87.25 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3227, allocations: 0 / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3227, allocations: 4 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.3227, allocations: 0 / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007285/0.3235, allocations: 300 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3235, allocations: 8.031 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.3236, allocations: 34.73 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.3236, allocations: 4.938 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3238, allocations: 114.5 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3238, allocations: 384 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.3238, allocations: 8.375 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.324, allocations: 38.25 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.324, allocations: 3.938 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.324, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.324, allocations: 3.938 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.3241, allocations: 11.94 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.3247, allocations: 252 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.243e-05/0.3247, allocations: 26.52 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.466e-05/0.3248, allocations: 12.91 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.3248, allocations: 0 / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.3251, allocations: 59.33 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.3251, allocations: 4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003088/0.3254, allocations: 61.64 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.3255, allocations: 55.41 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3256, allocations: 105.8 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.3257, allocations: 29.7 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.255e-05/0.3258, allocations: 84.14 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3258, allocations: 11.94 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3259, allocations: 29.7 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.3262, allocations: 318.8 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3263, allocations: 31.98 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3265, allocations: 50.5 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3267, allocations: 80.44 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3267, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004895/0.3272, allocations: 147.3 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.3273, allocations: 41.78 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3273, allocations: 320 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3273, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.093e-05/0.3273, allocations: 15.88 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3273, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.3277, allocations: 31.91 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.3277, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001524/0.3278, allocations: 117.8 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.3279, allocations: 11.95 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.3279, allocations: 8 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3279, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3279, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3279, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3281, allocations: 128.7 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3281, allocations: 3.984 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.3281, allocations: 3.938 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3281, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3281, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3281, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3281, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.3283, allocations: 81 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.3284, allocations: 7.953 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3284, allocations: 3.984 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.3284, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3284, allocations: 4 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3285, allocations: 4 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.3285, allocations: 87.27 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3285, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003957/0.3289, allocations: 16 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007784/0.3297, allocations: 0.6202 MB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.3301, allocations: 107.4 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3301, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.3301, allocations: 8 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.3305, allocations: 19.91 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.3331, allocations: 1.362 MB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.3337, allocations: 0.6846 MB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.3337, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.3338, allocations: 15.67 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3338, allocations: 0 / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/0.3731, allocations: 2.091 MB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 6.219 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.460767302196473]