Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001805/0.001806, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.00198/0.00198, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.478/1.478, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 489.3 MB / 0.7687 GB, free: 4 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 71.89 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.986, allocations: 163.8 MB / 1.263 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001707/0.9878, allocations: 0.5895 MB / 1.263 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.144e-05/0.9878, allocations: 0 / 1.263 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.9879, allocations: 4.906 kB / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.9879, allocations: 0 / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.892e-05/0.9879, allocations: 0 / 1.263 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.811e-05/0.988, allocations: 4.688 kB / 1.263 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.988, allocations: 5.609 kB / 1.263 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.9881, allocations: 2.594 kB / 1.263 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.9881, allocations: 0 / 1.263 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.589e-05/0.9881, allocations: 0.9688 kB / 1.263 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.9882, allocations: 4 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.9882, allocations: 0.75 kB / 1.263 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.9882, allocations: 4.734 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.9882, allocations: 0.7188 kB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.042e-05/0.9883, allocations: 5.562 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9883, allocations: 0.6562 kB / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9883, allocations: 0 / 1.263 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.9883, allocations: 0 / 1.263 GB, free: 7.648 MB / 0.9981 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.0002293/0.9885, allocations: 308.8 kB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9886, allocations: 9.344 kB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.9886, allocations: 10.33 kB / 1.264 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.9887, allocations: 161.1 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9887, allocations: 1.781 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.9887, allocations: 1.25 kB / 1.264 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/0.9888, allocations: 28.56 kB / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9888, allocations: 192 / 1.264 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.9888, allocations: 7.875 kB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.9888, allocations: 1.219 kB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.9889, allocations: 1.547 kB / 1.264 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.382e-05/0.989, allocations: 147.8 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.989, allocations: 21.45 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.989, allocations: 11.78 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.989, allocations: 0 / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.9891, allocations: 32.77 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.9891, allocations: 0 / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.9892, allocations: 47.62 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.9892, allocations: 56.09 kB / 1.264 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.787e-05/0.9892, allocations: 89.86 kB / 1.264 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-06/0.9893, allocations: 27.23 kB / 1.264 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.06e-05/0.9893, allocations: 84.08 kB / 1.264 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.9893, allocations: 3.328 kB / 1.264 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.9893, allocations: 12.34 kB / 1.264 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.9894, allocations: 312.4 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.9894, allocations: 4.906 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.9894, allocations: 5.312 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.9894, allocations: 15.64 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.9894, allocations: 0.9375 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.176e-05/0.9895, allocations: 31.45 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9895, allocations: 5.219 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9895, allocations: 1.078 kB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9895, allocations: 4.656 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.9896, allocations: 2.25 kB / 1.265 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9896, allocations: 4 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.9896, allocations: 0.8438 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.9896, allocations: 1.469 kB / 1.265 GB, free: 6.07 MB / 0.9981 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 4.197e-05/0.9897, allocations: 106.6 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-06/0.9897, allocations: 1.422 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.9897, allocations: 12.45 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.9897, allocations: 0 / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.9897, allocations: 0.7812 kB / 1.265 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.9897, allocations: 4.516 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.224e-05/0.9898, allocations: 144.7 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9898, allocations: 0.9062 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.9898, allocations: 1.422 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9898, allocations: 0.8125 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.9899, allocations: 9.469 kB / 1.265 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9899, allocations: 0 / 1.265 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.9899, allocations: 0 / 1.265 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.303e-05/0.9899, allocations: 64.77 kB / 1.265 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.9899, allocations: 78.7 kB / 1.265 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.99, allocations: 5.266 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.99, allocations: 0.9375 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.99, allocations: 0.5625 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.99, allocations: 0.875 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.191e-05/0.99, allocations: 75.94 kB / 1.265 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.99, allocations: 4.75 kB / 1.265 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001963/0.9902, allocations: 0.8438 kB / 1.265 GB, free: 5.5 MB / 0.9981 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.000111/0.9903, allocations: 102.4 kB / 1.265 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.9904, allocations: 7.656 kB / 1.265 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9904, allocations: 0 / 1.265 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.9904, allocations: 2.953 kB / 1.265 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.9906, allocations: 5.906 kB / 1.265 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.9908, allocations: 108.7 kB / 1.265 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.9909, allocations: 0.672 MB / 1.266 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.9909, allocations: 11.44 kB / 1.266 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.9909, allocations: 4.875 kB / 1.266 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of Templates: time 0.001715/0.9926, allocations: 335.3 kB / 1.266 GB, free: 4.547 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.180866456124932]