Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001531/0.001531, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001544/0.001544, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.957 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.969/2.969, allocations: 476.7 MB / 0.7707 GB, free: 4.242 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.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.002068/0.002068, allocations: 69.78 kB / 1.117 GB, free: 39.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 170 MB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002142/0.3193, allocations: 0.7613 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3204, allocations: 0.8667 MB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.3205, allocations: 8 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.3205, allocations: 3.938 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.3206, allocations: 11.86 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.3208, allocations: 31.95 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3209, allocations: 67.84 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3211, allocations: 19.98 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.3211, allocations: 31.84 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.3212, allocations: 43.83 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.3213, allocations: 8 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.3213, allocations: 7.938 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.3213, allocations: 23.92 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.3214, allocations: 31.8 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3215, allocations: 71.27 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.3215, allocations: 4 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3215, allocations: 0 / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.3215, allocations: 0 / 1.285 GB, free: 9.328 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005851/0.3221, allocations: 302 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3221, allocations: 8.031 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.3222, allocations: 46.69 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.3222, allocations: 8.891 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.3224, allocations: 122.4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3224, allocations: 8.375 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.3224, allocations: 384 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3227, allocations: 86.2 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3227, allocations: 3.938 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3227, allocations: 3.938 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3227, allocations: 0 / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.3229, allocations: 75.88 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.3234, allocations: 287.8 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.3237, allocations: 82.53 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3238, allocations: 44.86 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3238, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.3239, allocations: 38.56 kB / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3239, allocations: 0 / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004944/0.3244, allocations: 129.6 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3244, allocations: 51.41 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3245, allocations: 125.8 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3245, allocations: 25.7 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.3246, allocations: 104 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.3247, allocations: 15.86 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3247, allocations: 21.7 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3249, allocations: 318.8 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.325, allocations: 35.91 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3251, allocations: 31.97 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.3253, allocations: 68.81 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3253, allocations: 0 / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002907/0.3256, allocations: 105.6 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3256, allocations: 4 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3256, allocations: 0 / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3256, allocations: 4 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3258, allocations: 20.03 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3258, allocations: 7.875 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.3259, allocations: 11.92 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3259, allocations: 4.438 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001025/0.326, allocations: 117.8 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.326, allocations: 7.953 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.309e-05/0.3261, allocations: 8.375 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3261, allocations: 8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3261, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3261, allocations: 4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3263, allocations: 168.6 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3263, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3264, allocations: 15.98 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3264, allocations: 3.984 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3265, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3265, allocations: 4 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3265, allocations: 0 / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.3268, allocations: 207.3 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.3268, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3269, allocations: 4 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.327, allocations: 7.984 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.327, allocations: 11.98 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.327, allocations: 3.984 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.332e-05/0.3271, allocations: 99.27 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3271, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000239/0.3274, allocations: 15.95 kB / 1.288 GB, free: 6.227 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006975/0.3281, allocations: 0.7319 MB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.3284, allocations: 71.94 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3284, allocations: 0 / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3285, allocations: 43.91 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.3288, allocations: 4 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.3308, allocations: 1.468 MB / 1.29 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3311, allocations: 0.6885 MB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.713e-05/0.3311, allocations: 11.98 kB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3312, allocations: 27.42 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of SimCode: time 8.01e-07/0.3312, allocations: 192 / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.3602, allocations: 2.445 MB / 1.294 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 9.297 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.655250123003498]