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.0009732/0.0009732, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.000989/0.000989, allocations: 181 kB / 24.09 MB, free: 424 kB / 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 0.9329/0.9329, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.812/1.812, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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 2.074e-06/2.074e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.763e-05, allocations: 5.609 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001375/0.001402, allocations: 0.5938 MB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.259e-05/0.001455, allocations: 4.688 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.001474, allocations: 4.688 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.001502, allocations: 0 / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.001537, allocations: 0.9688 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.431e-05/0.001571, allocations: 4 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.001621, allocations: 0 / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.001662, allocations: 0.625 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.204e-05/0.001704, allocations: 0.6875 kB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.001729, allocations: 7.984 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.001742, allocations: 0.7812 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-06/0.001747, allocations: 0 / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.001761, allocations: 1.062 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.001778, allocations: 0 / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.727e-05/0.001835, allocations: 4 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.001837, allocations: 1.188 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.001838, allocations: 0 / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.001843, allocations: 0 / 0.7882 GB, free: 11.54 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.0002078/0.002051, allocations: 340.4 kB / 0.7885 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.00209, allocations: 12.56 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.00211, allocations: 3.75 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.974e-05/0.00216, allocations: 108.6 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.002169, allocations: 384 / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.002176, allocations: 4.375 kB / 0.7887 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.662e-05/0.002232, allocations: 30.2 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.002238, allocations: 192 / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.002244, allocations: 4.312 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.002248, allocations: 1.781 kB / 0.7887 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-06/0.002257, allocations: 7.938 kB / 0.7887 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.221e-05/0.00233, allocations: 89.27 kB / 0.7888 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.184e-05/0.002361, allocations: 27.75 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.002377, allocations: 12.59 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.002383, allocations: 0 / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.002405, allocations: 45.31 kB / 0.7889 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.002406, allocations: 0.75 kB / 0.7889 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.525e-05/0.002491, allocations: 30.39 kB / 0.7889 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.002516, allocations: 51.41 kB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.677e-05/0.002553, allocations: 143.2 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.002563, allocations: 25.7 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.00259, allocations: 128.2 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.002622, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.002646, allocations: 23.38 kB / 0.7893 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.002754, allocations: 496.1 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-06/0.002761, allocations: 1.812 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-06/0.002769, allocations: 7.938 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.002794, allocations: 11.67 kB / 0.7898 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.002795, allocations: 0 / 0.7898 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.946e-05/0.002835, allocations: 31.23 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.002847, allocations: 8 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.002851, allocations: 0 / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.00286, allocations: 0.5312 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.002903, allocations: 4 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.002906, allocations: 1.906 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-06/0.002914, allocations: 4 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.002918, allocations: 0 / 0.7898 GB, free: 9.734 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 5.705e-05/0.002975, allocations: 160.5 kB / 0.79 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.002981, allocations: 10.77 kB / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.002999, allocations: 6.984 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.003002, allocations: 4 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.003004, allocations: 0 / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.003007, allocations: 0 / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.058e-05/0.003058, allocations: 93.2 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.003059, allocations: 3.938 kB / 0.7901 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.003067, allocations: 4.531 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.003068, allocations: 0.7188 kB / 0.7901 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.003072, allocations: 4 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.003073, allocations: 0.5312 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.003074, allocations: 0 / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.472e-05/0.003129, allocations: 77.95 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-06/0.003133, allocations: 0 / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-06/0.003138, allocations: 0 / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-06/0.003141, allocations: 0.625 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.00315, allocations: 0 / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.003153, allocations: 4.688 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001198/0.003273, allocations: 123.1 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.003273, allocations: 1.156 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000104/0.003377, allocations: 0 / 0.7903 GB, free: 9.191 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 9.499e-05/0.003472, allocations: 99.77 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.003535, allocations: 12.56 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.003537, allocations: 0.8438 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.728e-06/0.003542, allocations: 7.688 kB / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.06e-05/0.003633, allocations: 9.625 kB / 0.7904 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.003823, allocations: 83.95 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.805e-05/0.003851, allocations: 59.34 kB / 0.7905 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.003862, allocations: 0 / 0.7905 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.003892, allocations: 70.98 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.003893, allocations: 0 / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of Templates: time 0.001445/0.005337, allocations: 209.1 kB / 0.7908 GB, free: 8.59 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852267750073224]