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.001904/0.001904, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002028/0.002028, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 1.964e-06/1.964e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.167e-05, allocations: 13.06 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001825/0.001857, allocations: 0.5793 MB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.37e-05/0.001901, allocations: 4.188 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.001918, allocations: 0.8438 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.001941, allocations: 0 / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.181e-05/0.001973, allocations: 0.5625 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.212e-05/0.002005, allocations: 1.156 kB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.002068, allocations: 11.92 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.002113, allocations: 0 / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.002151, allocations: 0.5625 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.002175, allocations: 0 / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.002187, allocations: 0.75 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.002191, allocations: 0 / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.002202, allocations: 0.9062 kB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.002218, allocations: 4 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.746e-05/0.002276, allocations: 3.984 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002277, allocations: 0.6562 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002278, allocations: 1.656 kB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.002282, allocations: 3.938 kB / 0.787 GB, free: 12.16 MB / 0.7448 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.0003818/0.002664, allocations: 348.4 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.002699, allocations: 8.031 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.002737, allocations: 4.938 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.754e-05/0.002834, allocations: 110.1 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.002846, allocations: 384 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.002852, allocations: 384 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.778e-05/0.00294, allocations: 31.86 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.002948, allocations: 192 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.002955, allocations: 384 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.002958, allocations: 384 / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.002975, allocations: 3.938 kB / 0.7875 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.003118, allocations: 120.1 kB / 0.7876 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.003178, allocations: 27 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.003205, allocations: 11.78 kB / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.003216, allocations: 0 / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.003248, allocations: 33.39 kB / 0.7877 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 5.81e-07/0.003249, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.003391, allocations: 41.64 kB / 0.7877 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.003437, allocations: 55.97 kB / 0.7878 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.003532, allocations: 142.2 kB / 0.7879 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.003552, allocations: 26.3 kB / 0.7879 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.003616, allocations: 126.9 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.003648, allocations: 4.703 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.003686, allocations: 20.59 kB / 0.7881 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002615/0.003948, allocations: 0.4883 MB / 0.7886 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.003956, allocations: 0 / 0.7886 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.003965, allocations: 4.625 kB / 0.7886 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.003991, allocations: 8.812 kB / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003993, allocations: 0 / 0.7886 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.859e-05/0.004051, allocations: 37.64 kB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.004068, allocations: 4.844 kB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.004072, allocations: 0 / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.004086, allocations: 0.625 kB / 0.7886 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.004138, allocations: 7.984 kB / 0.7886 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.004142, allocations: 1.188 kB / 0.7886 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.004153, allocations: 3.938 kB / 0.7886 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.004156, allocations: 0 / 0.7886 GB, free: 10.32 MB / 0.7448 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 0.0001116/0.004268, allocations: 161.3 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-06/0.004274, allocations: 1.188 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.004293, allocations: 3 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.004294, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004297, allocations: 2.781 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.004299, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.004405, allocations: 116.6 kB / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.004406, allocations: 0 / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-06/0.004415, allocations: 0 / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004416, allocations: 0 / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.004422, allocations: 0 / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.004426, allocations: 4 kB / 0.7889 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004427, allocations: 1.469 kB / 0.7889 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.004523, allocations: 76.33 kB / 0.789 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.004531, allocations: 4 kB / 0.789 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.004542, allocations: 4.484 kB / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.004548, allocations: 0 / 0.789 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.004564, allocations: 4.5 kB / 0.789 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.004566, allocations: 1.375 kB / 0.789 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.004631, allocations: 119.2 kB / 0.7891 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004631, allocations: 0 / 0.7891 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001781/0.004809, allocations: 4 kB / 0.7891 GB, free: 9.766 MB / 0.7448 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.0001145/0.004924, allocations: 97.78 kB / 0.7892 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.764e-05/0.005001, allocations: 11.69 kB / 0.7892 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.005005, allocations: 4 kB / 0.7892 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.005025, allocations: 15.62 kB / 0.7892 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.005155, allocations: 8.641 kB / 0.7893 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.005423, allocations: 84.52 kB / 0.7893 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.005477, allocations: 56.48 kB / 0.7894 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.134e-05/0.005489, allocations: 0 / 0.7894 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.005509, allocations: 8.5 kB / 0.7894 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.00551, allocations: 0.9688 kB / 0.7894 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.002382/0.007891, allocations: 203.7 kB / 0.7896 GB, free: 9.23 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] 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.986722836038098]