Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001371/0.001371, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001553/0.001553, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.402/3.402, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.002108/0.002108, allocations: 71.2 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3895, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001801/0.3913, allocations: 0.5542 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.736e-05/0.3914, allocations: 3.984 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.3914, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.3914, allocations: 3.938 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.461e-05/0.3914, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.93e-05/0.3915, allocations: 3.938 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.3915, allocations: 4 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.3916, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.273e-05/0.3916, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.609e-05/0.3916, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3916, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.3916, allocations: 7.938 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.3916, allocations: 11.98 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.3917, allocations: 0 / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.818e-05/0.3917, allocations: 3.984 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3917, allocations: 0 / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3917, allocations: 0 / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3917, allocations: 0 / 1.364 GB, free: 13.51 MB / 1.061 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.0002977/0.392, allocations: 238.7 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3921, allocations: 12.03 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.3921, allocations: 30.75 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.3921, allocations: 0.9375 kB / 1.364 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3922, allocations: 110.5 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3922, allocations: 384 / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3923, allocations: 8.312 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.3924, allocations: 26.27 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3924, allocations: 3.938 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3924, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.3924, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.3924, allocations: 4 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.3928, allocations: 350.6 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3929, allocations: 173.4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.3929, allocations: 88.08 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.393, allocations: 79.28 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.393, allocations: 109.8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.393, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.698e-05/0.3931, allocations: 29.73 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.3932, allocations: 138.6 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.3933, allocations: 89.86 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3933, allocations: 29.7 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.3933, allocations: 84.14 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3933, allocations: 0 / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.3934, allocations: 13.84 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3935, allocations: 310.8 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/0.3935, allocations: 4 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-06/0.3935, allocations: 0 / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.3935, allocations: 79.28 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/0.3936, allocations: 83.16 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.55e-05/0.3936, allocations: 33.69 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.3937, allocations: 79.28 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/0.3937, allocations: 79.22 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/0.3938, allocations: 154.6 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.3938, allocations: 83.22 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-05/0.3939, allocations: 154.6 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.394, allocations: 75.28 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.394, allocations: 83.22 kB / 1.367 GB, free: 10.52 MB / 1.061 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.000137/0.3941, allocations: 265 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3942, allocations: 105 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.3943, allocations: 116.1 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-05/0.3943, allocations: 177.3 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-05/0.3944, allocations: 180.3 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001317/0.3946, allocations: 184.2 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3948, allocations: 376.2 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.856e-05/0.3949, allocations: 112.9 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.3949, allocations: 105 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.008e-05/0.395, allocations: 180.3 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.3951, allocations: 180.2 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.659e-05/0.3952, allocations: 176.6 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.866e-05/0.3952, allocations: 188.1 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.3954, allocations: 319.7 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3955, allocations: 101 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.3955, allocations: 184.3 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.3956, allocations: 104.9 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.3957, allocations: 184.2 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.3958, allocations: 108.9 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.3958, allocations: 75.28 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3958, allocations: 0 / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002533/0.3961, allocations: 4 kB / 1.37 GB, free: 6.969 MB / 1.061 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.0004875/0.3965, allocations: 0.8009 MB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 3.882e-05/0.3966, allocations: 4 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3966, allocations: 0 / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.3966, allocations: 4.031 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.397, allocations: 467.7 kB / 1.371 GB, free: 5.668 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.3981, allocations: 1.52 MB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.3982, allocations: 55.3 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.483e-06/0.3982, allocations: 0 / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.3982, allocations: 11.44 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3982, allocations: 0 / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.4281, allocations: 1.405 MB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 11.52 kB / 1.374 GB, free: 2.699 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.793543253093958]