Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001967/0.001967, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.002141/0.002141, allocations: 215 kB / 20.13 MB, free: 2.949 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.863/2.863, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_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.00348/0.00348, allocations: 71.84 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9857/0.9892, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001849/0.991, allocations: 0.555 MB / 1.279 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.762e-05/0.9911, allocations: 4.969 kB / 1.279 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.9911, allocations: 0 / 1.279 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.9912, allocations: 1.672 kB / 1.28 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.609e-05/0.9912, allocations: 3.938 kB / 1.28 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.063e-05/0.9912, allocations: 0.9375 kB / 1.28 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.9913, allocations: 5.047 kB / 1.28 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.9913, allocations: 1.891 kB / 1.28 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.9913, allocations: 5.219 kB / 1.28 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.582e-05/0.9914, allocations: 4.688 kB / 1.28 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.9914, allocations: 1.156 kB / 1.28 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-06/0.9914, allocations: 0 / 1.28 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.9914, allocations: 0 / 1.28 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.9914, allocations: 9.031 kB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.501e-05/0.9915, allocations: 2.281 kB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.9915, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9915, allocations: 0.6562 kB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9915, allocations: 0.7188 kB / 1.28 GB, free: 11.39 MB / 0.9981 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.0003374/0.9918, allocations: 316.6 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.9919, allocations: 9.531 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.603e-05/0.9919, allocations: 1.938 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.9919, allocations: 30.75 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.685e-05/0.9919, allocations: 2.094 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.992, allocations: 165.8 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.9921, allocations: 1.219 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.9921, allocations: 384 / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.9921, allocations: 42.77 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9922, allocations: 0 / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.9922, allocations: 0.75 kB / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.9922, allocations: 0 / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.31e-05/0.9922, allocations: 0 / 1.28 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.9925, allocations: 387.4 kB / 1.28 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.9926, allocations: 174.2 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.9927, allocations: 80.14 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.9927, allocations: 76.09 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.9928, allocations: 111.4 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9928, allocations: 0 / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.691e-05/0.9928, allocations: 28.03 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.9929, allocations: 130.7 kB / 1.281 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.993, allocations: 94.73 kB / 1.281 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.993, allocations: 30.77 kB / 1.281 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.993, allocations: 80.94 kB / 1.281 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-06/0.993, allocations: 3.938 kB / 1.281 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.9931, allocations: 15.97 kB / 1.281 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.9932, allocations: 311.6 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.469e-06/0.9932, allocations: 1.062 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-06/0.9932, allocations: 4.125 kB / 1.282 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.9933, allocations: 79.22 kB / 1.282 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.375e-05/0.9933, allocations: 81.08 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.549e-05/0.9933, allocations: 28.56 kB / 1.282 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.9934, allocations: 80.5 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/0.9934, allocations: 84.95 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-05/0.9935, allocations: 155.5 kB / 1.282 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.9935, allocations: 81 kB / 1.282 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-05/0.9936, allocations: 160.2 kB / 1.282 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.9937, allocations: 77 kB / 1.282 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.9937, allocations: 80.38 kB / 1.282 GB, free: 8.277 MB / 0.9981 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.0001348/0.9939, allocations: 262.8 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.9939, allocations: 106.5 kB / 1.283 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.994, allocations: 109.7 kB / 1.283 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.592e-05/0.9941, allocations: 182.5 kB / 1.283 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.866e-05/0.9941, allocations: 177.4 kB / 1.283 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.933e-05/0.9942, allocations: 182.6 kB / 1.283 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.9945, allocations: 402.4 kB / 1.284 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.655e-05/0.9945, allocations: 114.7 kB / 1.284 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.9946, allocations: 102.9 kB / 1.284 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.38e-05/0.9946, allocations: 178 kB / 1.284 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.9947, allocations: 186.7 kB / 1.284 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.206e-05/0.9948, allocations: 176.9 kB / 1.284 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.818e-05/0.9949, allocations: 190.7 kB / 1.285 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.9951, allocations: 305.8 kB / 1.285 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.9952, allocations: 183.8 kB / 1.285 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.9953, allocations: 178.7 kB / 1.285 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.9953, allocations: 110.7 kB / 1.285 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9955, allocations: 186 kB / 1.286 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.9955, allocations: 102.8 kB / 1.286 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.9956, allocations: 78.16 kB / 1.286 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9956, allocations: 0 / 1.286 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002533/0.9958, allocations: 7.875 kB / 1.286 GB, free: 4.645 MB / 0.9981 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.0004978/0.9963, allocations: 0.8096 MB / 1.287 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 4.878e-05/0.9964, allocations: 6.297 kB / 1.287 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9964, allocations: 0 / 1.287 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.9964, allocations: 4.906 kB / 1.287 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.9968, allocations: 459.8 kB / 1.287 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.9979, allocations: 1.525 MB / 1.288 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.9982, allocations: 0.6746 MB / 1.289 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.974e-06/0.9982, allocations: 0.6562 kB / 1.289 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.9982, allocations: 8.562 kB / 1.289 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.9982, allocations: 3.938 kB / 1.289 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/1.017, allocations: 0.9761 MB / 1.29 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.621, allocations: 7.203 kB / 1.29 GB, free: 0.7188 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.04783104802482]