Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001773/0.001773, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002435/0.002435, allocations: 216.1 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.935/2.935, allocations: 476.7 MB / 0.7714 GB, free: 4.27 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.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.002092/0.002092, allocations: 63.95 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001768/0.3391, allocations: 0.5479 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.706e-05/0.3392, allocations: 4 kB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.3392, allocations: 0 / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.3392, allocations: 0 / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.537e-05/0.3392, allocations: 4 kB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.125e-05/0.3393, allocations: 0 / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.3393, allocations: 7.938 kB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.3394, allocations: 3.984 kB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.348e-05/0.3394, allocations: 0 / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.3394, allocations: 0 / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3394, allocations: 0 / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-06/0.3394, allocations: 4 kB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.3394, allocations: 0 / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.3395, allocations: 11.86 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.29e-05/0.3395, allocations: 7.984 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3395, allocations: 4 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3395, allocations: 0 / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3395, allocations: 0 / 1.285 GB, free: 11.15 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.0002843/0.3398, allocations: 234 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3399, allocations: 16.02 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.3399, allocations: 192 / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.3399, allocations: 30.75 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.3399, allocations: 0.9375 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.34, allocations: 106.5 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.3401, allocations: 8.375 kB / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-06/0.3401, allocations: 384 / 1.285 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.612e-05/0.3402, allocations: 33.95 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.3402, allocations: 0 / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.3402, allocations: 0 / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3402, allocations: 0 / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.235e-05/0.3402, allocations: 4 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3405, allocations: 358.6 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.3406, allocations: 169.1 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.3407, allocations: 80.14 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.3407, allocations: 79.27 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.181e-05/0.3408, allocations: 113.8 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.3408, allocations: 8 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.255e-05/0.3409, allocations: 33.64 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.3409, allocations: 126.7 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.341, allocations: 93.86 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.3411, allocations: 25.7 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3411, allocations: 80.14 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.3411, allocations: 0 / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3411, allocations: 17.84 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3413, allocations: 318.9 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.3413, allocations: 0 / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.3413, allocations: 4 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.3413, allocations: 79.22 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/0.3414, allocations: 75.28 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.77e-05/0.3414, allocations: 33.69 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.3415, allocations: 79.28 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/0.3415, allocations: 83.22 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-05/0.3416, allocations: 150.6 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.3416, allocations: 79.28 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.508e-05/0.3417, allocations: 158.5 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.3418, allocations: 79.22 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.3418, allocations: 85 kB / 1.287 GB, free: 8.164 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.000162/0.342, allocations: 269.7 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.91e-05/0.3421, allocations: 101 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.3421, allocations: 104.1 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.105e-05/0.3422, allocations: 184.2 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.529e-05/0.3423, allocations: 184.2 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-05/0.3424, allocations: 188.2 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.3427, allocations: 376.2 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.516e-05/0.3427, allocations: 101 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.3428, allocations: 108.9 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.03e-05/0.3429, allocations: 180.3 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.263e-05/0.343, allocations: 184.2 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.852e-05/0.343, allocations: 180.3 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-05/0.3431, allocations: 180.2 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.3433, allocations: 308.1 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.3434, allocations: 108.9 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.3435, allocations: 184.3 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.3435, allocations: 113 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.3436, allocations: 180.2 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.3437, allocations: 101 kB / 1.291 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.3437, allocations: 79.28 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3437, allocations: 0 / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002587/0.344, allocations: 0 / 1.291 GB, free: 4.629 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.0005085/0.3445, allocations: 0.8127 MB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.104e-05/0.3445, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3445, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.3445, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.345, allocations: 467.6 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3462, allocations: 1.524 MB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3465, allocations: 0.669 MB / 1.294 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.766e-06/0.3465, allocations: 4 kB / 1.294 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.3465, allocations: 7.438 kB / 1.294 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3465, allocations: 4 kB / 1.294 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.3681, allocations: 1.042 MB / 1.295 GB, free: 124 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.44, allocations: 2.344 kB / 1.295 GB, free: 124 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.4359249540139]