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.001845/0.001845, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002681/0.002681, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.868/2.868, allocations: 476.7 MB / 0.7715 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.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="cs",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.00197/0.00197, allocations: 70.83 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 170 MB / 1.284 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002013/0.3217, allocations: 0.7181 MB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3229, allocations: 0.8316 MB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.3229, allocations: 3.938 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.323, allocations: 3.938 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.323, allocations: 7.938 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.3232, allocations: 15.98 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3233, allocations: 43.89 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3234, allocations: 8 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.3235, allocations: 27.86 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.3235, allocations: 15.92 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3236, allocations: 4 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.3236, allocations: 4 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3236, allocations: 7.984 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.3236, allocations: 19.88 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3237, allocations: 48.08 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3238, allocations: 0 / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3238, allocations: 0 / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3238, allocations: 0 / 1.286 GB, free: 9.887 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.0005732/0.3243, allocations: 290.2 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3244, allocations: 12.03 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.3244, allocations: 192 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.3244, allocations: 30.75 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.3245, allocations: 8.938 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3246, allocations: 110.4 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3246, allocations: 4.375 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3246, allocations: 8.312 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.3249, allocations: 77.88 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3249, allocations: 0 / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3249, allocations: 4 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3249, allocations: 0 / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3252, allocations: 67.92 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.3256, allocations: 235.9 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3258, allocations: 66.47 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.326, allocations: 36.91 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.326, allocations: 0 / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.326, allocations: 30.56 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.326, allocations: 4 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005775/0.3266, allocations: 129.5 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3267, allocations: 51.41 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3268, allocations: 113.8 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3268, allocations: 25.7 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.3269, allocations: 88.12 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3269, allocations: 7.953 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.3269, allocations: 17.72 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3271, allocations: 322.8 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3272, allocations: 31.97 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3274, allocations: 27.97 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3276, allocations: 72.78 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3276, allocations: 0 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003271/0.328, allocations: 97.58 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.328, allocations: 7.984 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.328, allocations: 0 / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.328, allocations: 3.938 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3281, allocations: 23.98 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3281, allocations: 0 / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.3282, allocations: 11.98 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3282, allocations: 0 / 1.288 GB, free: 7.711 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 9.161e-05/0.3283, allocations: 117.8 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.3283, allocations: 3.953 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.3287, allocations: 109.6 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3287, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3287, allocations: 384 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3287, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3289, allocations: 148.6 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3289, allocations: 0 / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.329, allocations: 19.92 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.329, allocations: 3.984 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.329, allocations: 19.86 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.329, allocations: 0 / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.329, allocations: 0 / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.3294, allocations: 191.4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.3294, allocations: 3.953 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3294, allocations: 4 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3295, allocations: 19.97 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3296, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.3296, allocations: 4 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.3296, allocations: 87.27 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3296, allocations: 0 / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002199/0.3298, allocations: 8 kB / 1.289 GB, free: 6.906 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.0007167/0.3306, allocations: 0.728 MB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3309, allocations: 67.92 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3309, allocations: 0 / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3311, allocations: 35.91 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3314, allocations: 7.984 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.3319, allocations: 151.2 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.3322, allocations: 0.6846 MB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.3322, allocations: 3.984 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.3323, allocations: 15.44 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3323, allocations: 0 / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3538, allocations: 1.773 MB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.78, allocations: 5.453 kB / 1.292 GB, free: 3.504 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.704784038010985]