Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001375/0.001375, allocations: 113 kB / 18.94 MB, free: 2.934 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.001628/0.001628, allocations: 207.5 kB / 22.25 MB, free: 5.082 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.012 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.784/2.784, allocations: 476.7 MB / 0.7707 GB, free: 4.289 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.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.002156/0.002156, allocations: 63.45 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 169.9 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001918/0.3329, allocations: 0.6046 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.823e-05/0.333, allocations: 3.938 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.333, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.333, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.3331, allocations: 4 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.82e-05/0.3331, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.3331, allocations: 4 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.3332, allocations: 3.984 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.3332, allocations: 4 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.3332, allocations: 3.938 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3332, allocations: 0 / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-06/0.3332, allocations: 0 / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.3333, allocations: 4 kB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.3333, allocations: 3.938 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.013e-05/0.3333, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3333, allocations: 4 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3333, allocations: 0 / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.3334, allocations: 0 / 1.284 GB, free: 11.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000299/0.3337, allocations: 242 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3337, allocations: 11.97 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.3337, allocations: 34.75 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.3338, allocations: 0.9375 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3339, allocations: 102.5 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-06/0.3339, allocations: 384 / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3339, allocations: 4.375 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.334, allocations: 30.27 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.334, allocations: 3.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.334, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.334, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.334, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.3343, allocations: 354.5 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3344, allocations: 181.1 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.3345, allocations: 80.14 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3345, allocations: 75.28 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.3346, allocations: 113.8 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3346, allocations: 0 / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.968e-05/0.3346, allocations: 33.59 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.3347, allocations: 134.7 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.3348, allocations: 93.86 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3348, allocations: 25.7 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.3349, allocations: 84.14 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3349, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.3349, allocations: 9.719 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.335, allocations: 315 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-06/0.335, allocations: 4.125 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-06/0.335, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.3351, allocations: 83.28 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.872e-05/0.3351, allocations: 79.22 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.585e-05/0.3352, allocations: 29.64 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.3352, allocations: 83.28 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/0.3352, allocations: 79.28 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.441e-05/0.3353, allocations: 166.4 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.3354, allocations: 75.28 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.504e-05/0.3354, allocations: 150.6 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.3355, allocations: 87.2 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.3355, allocations: 77.08 kB / 1.287 GB, free: 8.125 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 (0): * Single equations (assignments): 0 * 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.0001358/0.3357, allocations: 260.3 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/0.3358, allocations: 116.9 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.3358, allocations: 104.1 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-05/0.3359, allocations: 180.2 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/0.336, allocations: 184.2 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.507e-05/0.3361, allocations: 180.3 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3363, allocations: 384.2 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-05/0.3364, allocations: 101 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.3364, allocations: 105 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.3365, allocations: 184.2 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.3366, allocations: 176.3 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.254e-05/0.3367, allocations: 184.2 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.681e-05/0.3367, allocations: 188.2 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.3369, allocations: 304.1 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.337, allocations: 108.9 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3371, allocations: 184.2 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3372, allocations: 113 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.3373, allocations: 176.3 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.3373, allocations: 104.9 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.3374, allocations: 79.28 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3374, allocations: 0 / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002449/0.3376, allocations: 0 / 1.29 GB, free: 4.586 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 (0): * Single equations (assignments): 0 * 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.0004933/0.3381, allocations: 0.8049 MB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.438e-05/0.3382, allocations: 11.94 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3382, allocations: 0 / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.3382, allocations: 0 / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3386, allocations: 457.2 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3398, allocations: 1.532 MB / 1.293 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3401, allocations: 0.6768 MB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.065e-06/0.3401, allocations: 0 / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.3402, allocations: 7.438 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.3402, allocations: 0 / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3677, allocations: 1.015 MB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.54, allocations: 9.172 kB / 1.294 GB, free: 80 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.406108672032133]