Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001791/0.001791, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002164/0.002164, allocations: 207.9 kB / 22.99 MB, free: 4.957 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.422/3.422, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.002117/0.002117, allocations: 71.62 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001737/0.4147, allocations: 0.5532 MB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 3.554e-05/0.4148, allocations: 8 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.4148, allocations: 0 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.4148, allocations: 0 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.4149, allocations: 0 / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.272e-05/0.4149, allocations: 4 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.4149, allocations: 0 / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.415, allocations: 0 / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.415, allocations: 3.938 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.415, allocations: 0 / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.415, allocations: 4 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-06/0.415, allocations: 0 / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.415, allocations: 0 / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.4151, allocations: 11.98 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 5.683e-05/0.4151, allocations: 3.938 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4151, allocations: 0 / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of FrontEnd: time 4.849e-06/0.4151, allocations: 3.984 kB / 1.328 GB, free: 436 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4151, allocations: 0 / 1.328 GB, free: 436 kB / 1.014 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.0002896/0.4154, allocations: 234.4 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4155, allocations: 16 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.4155, allocations: 0.9375 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.4156, allocations: 106.5 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4156, allocations: 4.375 kB / 1.328 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.4156, allocations: 4.375 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.4157, allocations: 30.25 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4157, allocations: 192 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4157, allocations: 3.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4157, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.529e-05/0.4157, allocations: 4 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.416, allocations: 335.1 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.4161, allocations: 165.6 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.4162, allocations: 84.08 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.4162, allocations: 83.25 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.4163, allocations: 117.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.4163, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.436e-05/0.4164, allocations: 37.64 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.4164, allocations: 130.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.4165, allocations: 89.86 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4165, allocations: 25.7 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.4166, allocations: 80.14 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.4166, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.4166, allocations: 13.72 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4167, allocations: 310.8 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.4167, allocations: 8.125 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.4167, allocations: 3.984 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.4168, allocations: 75.28 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-05/0.4168, allocations: 79.28 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.875e-05/0.4169, allocations: 37.58 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.4169, allocations: 79.28 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.4169, allocations: 79.28 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.189e-05/0.417, allocations: 154.5 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/0.417, allocations: 75.28 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.076e-05/0.4171, allocations: 154.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.4172, allocations: 83.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4172, allocations: 79.28 kB / 1.33 GB, free: 13.52 MB / 1.029 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.0001296/0.4173, allocations: 268.3 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.4174, allocations: 108.9 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.4175, allocations: 104 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.4176, allocations: 180.3 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-05/0.4176, allocations: 184.2 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001249/0.4178, allocations: 180.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.418, allocations: 352.8 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.418, allocations: 101 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/0.4181, allocations: 113 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.301e-05/0.4182, allocations: 188.1 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.744e-05/0.4183, allocations: 180.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-05/0.4183, allocations: 184.5 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.616e-05/0.4184, allocations: 176.3 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.4186, allocations: 311.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.4186, allocations: 108.9 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.4187, allocations: 180.2 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.4188, allocations: 105 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.4189, allocations: 184.2 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.4189, allocations: 104.9 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.419, allocations: 79.28 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.419, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002635/0.4192, allocations: 4 kB / 1.334 GB, free: 10 MB / 1.029 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.0001583/0.4194, allocations: 178.5 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.257e-05/0.4194, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4194, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.4194, allocations: 3.938 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.4199, allocations: 461.5 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.4201, allocations: 156.4 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.4202, allocations: 59.36 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.224e-06/0.4202, allocations: 0 / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.4202, allocations: 7.438 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4202, allocations: 0 / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of Templates: time 0.002011/0.4222, allocations: 152.8 kB / 1.335 GB, free: 8.941 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.516406363007263]