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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.7 MB / 0.7611 GB, free: 11.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 67.91 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7884, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002033/0.7904, allocations: 0.5548 MB / 1.269 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.694e-05/0.7905, allocations: 11.94 kB / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.7905, allocations: 0 / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.7905, allocations: 0 / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.7906, allocations: 0 / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.435e-05/0.7906, allocations: 0 / 1.269 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.7907, allocations: 4 kB / 1.269 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.938e-05/0.7907, allocations: 7.938 kB / 1.269 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.7907, allocations: 0 / 1.269 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.7908, allocations: 3.984 kB / 1.269 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.7908, allocations: 4 kB / 1.269 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.7908, allocations: 0 / 1.269 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.7908, allocations: 0 / 1.269 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.7908, allocations: 0 / 1.269 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.673e-05/0.7909, allocations: 11.98 kB / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7909, allocations: 0 / 1.269 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7909, allocations: 3.938 kB / 1.269 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.7909, allocations: 0 / 1.269 GB, free: 4.57 MB / 0.9669 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.0004199/0.7913, allocations: 315.3 kB / 1.27 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.7914, allocations: 8.031 kB / 1.27 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.7914, allocations: 34.75 kB / 1.27 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.7915, allocations: 4.875 kB / 1.27 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.7916, allocations: 164.4 kB / 1.27 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.7917, allocations: 4.375 kB / 1.27 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.7917, allocations: 384 / 1.27 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.7918, allocations: 30.27 kB / 1.27 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7918, allocations: 3.938 kB / 1.27 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.7918, allocations: 0 / 1.27 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7918, allocations: 0 / 1.27 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.7918, allocations: 4 kB / 1.27 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.7923, allocations: 387.5 kB / 1.27 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.7924, allocations: 169.1 kB / 1.27 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.7924, allocations: 80.14 kB / 1.27 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.7925, allocations: 75.28 kB / 1.271 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.7925, allocations: 109.8 kB / 1.271 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.7925, allocations: 3.938 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.041e-05/0.7926, allocations: 37.64 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.7927, allocations: 130.7 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.7928, allocations: 93.86 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.7928, allocations: 25.7 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.7929, allocations: 84.27 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.7929, allocations: 0 / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.7929, allocations: 9.719 kB / 1.271 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.793, allocations: 314.8 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.793, allocations: 0 / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.793, allocations: 4 kB / 1.271 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.757e-05/0.7931, allocations: 75.28 kB / 1.271 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-05/0.7931, allocations: 79.22 kB / 1.271 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.484e-05/0.7932, allocations: 37.62 kB / 1.272 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.7932, allocations: 85.62 kB / 1.272 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/0.7933, allocations: 75.28 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.969e-05/0.7934, allocations: 154.6 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.7934, allocations: 83.16 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.984e-05/0.7935, allocations: 154.6 kB / 1.272 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.7936, allocations: 83.22 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.7936, allocations: 83.28 kB / 1.272 GB, free: 1.391 MB / 0.9669 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.0001482/0.7937, allocations: 268.3 kB / 1.272 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.7938, allocations: 101 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.7939, allocations: 113.6 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/0.794, allocations: 176.3 kB / 1.273 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.393e-05/0.7941, allocations: 192.2 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-05/0.7941, allocations: 180.2 kB / 1.273 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.7945, allocations: 397.4 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-05/0.7945, allocations: 108.9 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.7946, allocations: 105 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.7947, allocations: 188.2 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.7948, allocations: 176.3 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.385e-05/0.7949, allocations: 184.2 kB / 1.274 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.576e-05/0.795, allocations: 180.3 kB / 1.274 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.7952, allocations: 316.1 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.7953, allocations: 182 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.7955, allocations: 180.2 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.7956, allocations: 113 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.7957, allocations: 176.3 kB / 1.275 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/0.7957, allocations: 108.9 kB / 1.275 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.7958, allocations: 83.28 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7958, allocations: 0 / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002955/0.7961, allocations: 3.938 kB / 1.276 GB, free: 13.71 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.0006215/0.7967, allocations: 0.8053 MB / 1.276 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.831e-05/0.7968, allocations: 8.031 kB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7968, allocations: 0 / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.7968, allocations: 4 kB / 1.276 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.7972, allocations: 451.7 kB / 1.277 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.7985, allocations: 1.524 MB / 1.278 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.7988, allocations: 0.673 MB / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.644e-06/0.7988, allocations: 0 / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.7988, allocations: 7.438 kB / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.7988, allocations: 3.938 kB / 1.279 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.8246, allocations: 0.9457 MB / 1.28 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.821, allocations: 6.188 kB / 1.28 GB, free: 9.262 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.896959761623293]