Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.00177/0.00177, allocations: 79.52 kB / 19.18 MB, free: 2.52 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.002053/0.002053, allocations: 164.7 kB / 22.46 MB, free: 5.379 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.549/1.549, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.717/2.717, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.679e-05, allocations: 6.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001819/0.001856, allocations: 0.5789 MB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.915e-05/0.001895, allocations: 4 kB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.001914, allocations: 0 / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.001941, allocations: 0 / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.277e-05/0.001964, allocations: 4 kB / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 2.903e-05/0.001993, allocations: 4 kB / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.002048, allocations: 3.938 kB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.002105, allocations: 3.984 kB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.002143, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.284e-05/0.002166, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.002183, allocations: 4 kB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.466e-06/0.002187, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.002197, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.002214, allocations: 0 / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.789e-05/0.002272, allocations: 7.922 kB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002274, allocations: 4 kB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002274, allocations: 0 / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.002283, allocations: 0 / 0.9516 GB, free: 10.89 MB / 0.8575 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.0002873/0.00257, allocations: 234.5 kB / 0.9518 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.002611, allocations: 12.03 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.002636, allocations: 4.875 kB / 0.9519 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.002728, allocations: 101.8 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.002744, allocations: 4.359 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.002754, allocations: 384 / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.002844, allocations: 30.27 kB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.002853, allocations: 192 / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.002861, allocations: 4.375 kB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.002864, allocations: 384 / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.002882, allocations: 3.938 kB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.003003, allocations: 101.3 kB / 0.9521 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.00305, allocations: 18.52 kB / 0.9521 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.003075, allocations: 8.953 kB / 0.9521 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.003087, allocations: 0 / 0.9521 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.00311, allocations: 34.5 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.003112, allocations: 4 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.003247, allocations: 45.62 kB / 0.9522 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.003291, allocations: 51.41 kB / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.003339, allocations: 89.86 kB / 0.9523 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.003355, allocations: 25.7 kB / 0.9524 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.00339, allocations: 80.14 kB / 0.9524 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.003432, allocations: 7.891 kB / 0.9524 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.003464, allocations: 13.72 kB / 0.9525 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.003609, allocations: 314.8 kB / 0.9528 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.003619, allocations: 0 / 0.9528 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.003629, allocations: 8 kB / 0.9528 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.003656, allocations: 9.047 kB / 0.9528 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.003658, allocations: 0 / 0.9528 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.892e-05/0.003717, allocations: 41.62 kB / 0.9528 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.003734, allocations: 4 kB / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.003738, allocations: 0 / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.003754, allocations: 0 / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.126e-05/0.003815, allocations: 4 kB / 0.9528 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.003831, allocations: 0 / 0.9528 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.003845, allocations: 3.938 kB / 0.9528 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.00385, allocations: 0 / 0.9528 GB, free: 9.484 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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 8.967e-05/0.00394, allocations: 109.9 kB / 0.9529 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.003951, allocations: 8 kB / 0.9529 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.646e-05/0.003968, allocations: 6.984 kB / 0.9529 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003969, allocations: 0 / 0.9529 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.003975, allocations: 3.984 kB / 0.9529 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.003978, allocations: 0 / 0.9529 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.101e-05/0.004059, allocations: 97.27 kB / 0.953 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00406, allocations: 3.938 kB / 0.953 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.004073, allocations: 4 kB / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.004075, allocations: 0 / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.004082, allocations: 4 kB / 0.9531 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.004085, allocations: 4 kB / 0.9531 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.004086, allocations: 0 / 0.9531 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.004186, allocations: 65 kB / 0.9531 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.004194, allocations: 7.938 kB / 0.9531 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.004204, allocations: 0 / 0.9531 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.004211, allocations: 4 kB / 0.9531 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.00423, allocations: 0 / 0.9531 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.004231, allocations: 0 / 0.9531 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.004272, allocations: 75.28 kB / 0.9532 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.004272, allocations: 0 / 0.9532 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001807/0.004453, allocations: 4.031 kB / 0.9532 GB, free: 9.039 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.0001431/0.004596, allocations: 103.2 kB / 0.9533 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.353e-05/0.004669, allocations: 4 kB / 0.9533 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.004671, allocations: 0 / 0.9533 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.004685, allocations: 7.938 kB / 0.9533 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.004819, allocations: 0 / 0.9533 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.00508, allocations: 85 kB / 0.9534 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.586e-05/0.005136, allocations: 59.47 kB / 0.9535 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.13e-05/0.005147, allocations: 4 kB / 0.9535 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.005167, allocations: 8.5 kB / 0.9535 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.005167, allocations: 0 / 0.9535 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.002322/0.007489, allocations: 182.4 kB / 0.9536 GB, free: 8.543 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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: 7.982180736958981]