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.0013/0.0013, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001724/0.001724, allocations: 210.2 kB / 22.24 MB, free: 4.875 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.816 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.881/2.881, allocations: 476 MB / 0.7699 GB, free: 4.746 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.002143/0.002143, allocations: 69.52 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3374, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00272/0.3401, allocations: 0.7459 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.3417, allocations: 0.8666 MB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.3418, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.3418, allocations: 3.938 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.3419, allocations: 7.875 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.3422, allocations: 35.95 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.3423, allocations: 71.83 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3425, allocations: 11.98 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3426, allocations: 31.92 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.3426, allocations: 35.77 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.3427, allocations: 8 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.3427, allocations: 12 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.3427, allocations: 19.91 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.3428, allocations: 27.86 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.343, allocations: 71.27 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.343, allocations: 4 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.343, allocations: 0 / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.343, allocations: 0 / 1.285 GB, free: 10.47 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.0006564/0.3436, allocations: 302.8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3437, allocations: 8.031 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3437, allocations: 42.75 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3438, allocations: 4.891 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3439, allocations: 138.2 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.344, allocations: 384 / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.344, allocations: 8.375 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3442, allocations: 78.2 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3443, allocations: 3.938 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3443, allocations: 4 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3443, allocations: 0 / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.3445, allocations: 71.94 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.3451, allocations: 283.8 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3454, allocations: 86.47 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3455, allocations: 36.92 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3456, allocations: 0 / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3456, allocations: 34.56 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3456, allocations: 3.938 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000542/0.3461, allocations: 133.6 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3462, allocations: 55.41 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3463, allocations: 125.9 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3464, allocations: 25.7 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.3464, allocations: 96.03 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.3465, allocations: 23.84 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.3465, allocations: 17.72 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3467, allocations: 322.8 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3468, allocations: 31.97 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.347, allocations: 32.34 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.3472, allocations: 76.75 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3472, allocations: 0 / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003134/0.3475, allocations: 101.6 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3475, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3475, allocations: 4 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.3476, allocations: 4 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.3478, allocations: 11.98 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.3478, allocations: 4 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.3479, allocations: 11.94 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3479, allocations: 0 / 1.287 GB, free: 8.133 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.0001213/0.348, allocations: 121.7 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.348, allocations: 7.953 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.3481, allocations: 8.375 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3481, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3481, allocations: 3.984 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3481, allocations: 0 / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3483, allocations: 160.6 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3483, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3484, allocations: 15.98 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3484, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3484, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3484, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3484, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3488, allocations: 215.4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3489, allocations: 11.94 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3489, allocations: 0 / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.349, allocations: 7.984 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.3491, allocations: 19.86 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3491, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.628e-05/0.3491, allocations: 99.27 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3491, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002411/0.3494, allocations: 11.95 kB / 1.287 GB, free: 7.391 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.0007687/0.3501, allocations: 0.7319 MB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3505, allocations: 75.88 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3505, allocations: 0 / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.3506, allocations: 43.97 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.351, allocations: 4 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.3533, allocations: 1.456 MB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3534, allocations: 71.34 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.3535, allocations: 11.98 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.3535, allocations: 23.42 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of SimCode: time 1.422e-06/0.3535, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.3957, allocations: 2.964 MB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 2.156 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB " [Timeout remaining time 287] (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.711543219164014]