Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001916/0.001916, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002348/0.002348, allocations: 213.7 kB / 22.24 MB, free: 5.238 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.805 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.814/2.814, allocations: 476 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.002228/0.002228, allocations: 66.02 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3378, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002217/0.34, allocations: 0.6981 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3412, allocations: 0.8355 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.3412, allocations: 0 / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.3412, allocations: 3.938 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.3413, allocations: 11.92 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.3414, allocations: 7.984 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.3415, allocations: 47.86 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3417, allocations: 9.672 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.3417, allocations: 19.94 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.3418, allocations: 23.84 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3418, allocations: 4 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.3418, allocations: 4 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.3418, allocations: 7.984 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3419, allocations: 15.92 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.342, allocations: 39.39 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.342, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.342, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.342, allocations: 4 kB / 1.284 GB, free: 10.72 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005749/0.3426, allocations: 288.2 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3426, allocations: 8.031 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.3427, allocations: 30.75 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.3427, allocations: 12.83 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3428, allocations: 118.4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3429, allocations: 384 / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3429, allocations: 4.375 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.3432, allocations: 74.16 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3432, allocations: 3.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3432, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3432, allocations: 7.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.3435, allocations: 63.92 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3439, allocations: 236 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.3441, allocations: 58.47 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3443, allocations: 40.91 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3443, allocations: 4 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3443, allocations: 30.56 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3443, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005847/0.3449, allocations: 133.7 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.345, allocations: 51.41 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3451, allocations: 109.8 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.3451, allocations: 25.7 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.3452, allocations: 92.12 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.3452, allocations: 7.891 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3452, allocations: 17.72 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3454, allocations: 314.8 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3455, allocations: 31.97 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3457, allocations: 31.97 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.346, allocations: 72.72 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.346, allocations: 0 / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000331/0.3463, allocations: 101.6 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3463, allocations: 7.984 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3463, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3464, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3465, allocations: 19.92 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3465, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.3466, allocations: 19.98 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3466, allocations: 0 / 1.286 GB, free: 8.551 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 (3): * Single equations (assignments): 3 * 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 8.603e-05/0.3467, allocations: 109.8 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.3467, allocations: 7.938 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.3471, allocations: 109.6 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3471, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3471, allocations: 4 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3471, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3473, allocations: 144.6 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3473, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3474, allocations: 15.98 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3474, allocations: 3.938 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3474, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3474, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3474, allocations: 3.984 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.3478, allocations: 195.4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.3478, allocations: 11.89 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3479, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.348, allocations: 11.98 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.348, allocations: 7.984 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.348, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.3481, allocations: 91.27 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3481, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002241/0.3483, allocations: 8 kB / 1.287 GB, free: 7.758 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 (3): * Single equations (assignments): 3 * 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.0007635/0.3491, allocations: 0.724 MB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.3494, allocations: 72.2 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3494, allocations: 0 / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3496, allocations: 39.98 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.3499, allocations: 8 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.3504, allocations: 153.8 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.011e-05/0.3505, allocations: 63.34 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.3505, allocations: 11.98 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3506, allocations: 11.44 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3506, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.3797, allocations: 2.182 MB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 9.547 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.623982190620154]