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.001566/0.001566, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001719/0.001719, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.505/1.505, allocations: 230.6 MB / 256.8 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.86/2.86, allocations: 476.8 MB / 0.7715 GB, free: 3.816 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.002085/0.002085, allocations: 69.33 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3652, allocations: 170 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002616/0.3678, allocations: 0.5516 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 5.624e-05/0.3679, allocations: 3.938 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.3679, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.368, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.368, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.494e-05/0.368, allocations: 3.984 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.3681, allocations: 4 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.122e-05/0.3682, allocations: 4 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.3682, allocations: 0 / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.3682, allocations: 3.938 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3682, allocations: 0 / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.692e-06/0.3683, allocations: 0 / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.3683, allocations: 0 / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.3683, allocations: 8 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.817e-05/0.3684, allocations: 3.234 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3684, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3684, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3684, allocations: 0 / 1.285 GB, free: 9.98 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.0004156/0.3688, allocations: 238.5 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.3689, allocations: 12.03 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.174e-05/0.3689, allocations: 192 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.369, allocations: 34.69 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.369, allocations: 0.9375 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3691, allocations: 102.5 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3692, allocations: 8.375 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3692, allocations: 4.312 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3693, allocations: 34 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3693, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3693, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.3693, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.541e-05/0.3693, allocations: 8 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.3698, allocations: 350.5 kB / 1.285 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3699, allocations: 169.1 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.3699, allocations: 88.16 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.37, allocations: 79.28 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/0.37, allocations: 105.8 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.37, allocations: 3.938 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001038/0.3701, allocations: 33.59 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3702, allocations: 130.7 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3704, allocations: 97.86 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3704, allocations: 25.7 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.3704, allocations: 80.14 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.3704, allocations: 0 / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.3705, allocations: 9.906 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3706, allocations: 323 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-06/0.3706, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-06/0.3706, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.3707, allocations: 79.22 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-05/0.3707, allocations: 75.28 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.75e-05/0.3708, allocations: 37.64 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.3709, allocations: 79.28 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.959e-05/0.3709, allocations: 79.28 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.848e-05/0.371, allocations: 154.6 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.343e-05/0.371, allocations: 79.22 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.316e-05/0.3711, allocations: 154.5 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.507e-05/0.3712, allocations: 89.03 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.3712, allocations: 75.28 kB / 1.287 GB, free: 6.992 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.0001509/0.3714, allocations: 264.3 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.3714, allocations: 105 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.3715, allocations: 108.1 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.43e-05/0.3716, allocations: 180.2 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000103/0.3717, allocations: 188.1 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.373e-05/0.3718, allocations: 176.3 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3721, allocations: 392.1 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-05/0.3721, allocations: 101 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.3722, allocations: 105 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.3723, allocations: 188.2 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.3724, allocations: 180.3 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001025/0.3725, allocations: 180.2 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001093/0.3726, allocations: 184.2 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3728, allocations: 308.1 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.3729, allocations: 101 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.373, allocations: 192.2 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.3731, allocations: 101 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3732, allocations: 180.3 kB / 1.29 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.3733, allocations: 108.9 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.3734, allocations: 79.28 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3734, allocations: 0 / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003074/0.3737, allocations: 7.938 kB / 1.291 GB, free: 3.441 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.0006305/0.3743, allocations: 0.8048 MB / 1.291 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.595e-05/0.3744, allocations: 3.938 kB / 1.291 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3744, allocations: 0 / 1.291 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.3744, allocations: 0 / 1.291 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.3748, allocations: 461.8 kB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3762, allocations: 1.524 MB / 1.293 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.3763, allocations: 59.34 kB / 1.293 GB, free: 480 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.307e-06/0.3763, allocations: 0 / 1.293 GB, free: 480 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.3764, allocations: 7.438 kB / 1.293 GB, free: 472 kB / 0.9825 GB Notification: Performance of SimCode: time 9.72e-07/0.3764, allocations: 0 / 1.293 GB, free: 472 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3995, allocations: 1.064 MB / 1.294 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 14.41 kB / 1.294 GB, free: 15.54 MB / 0.9981 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.46867635799572]