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.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.00142/0.00142, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001663/0.001663, allocations: 200.1 kB / 22.17 MB, free: 5.211 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.458/1.458, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.001984/0.001984, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7956, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001834/0.7975, allocations: 0.594 MB / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.058e-05/0.7975, allocations: 0 / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.7975, allocations: 0 / 1.275 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.7976, allocations: 3.938 kB / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.011e-05/0.7976, allocations: 3.938 kB / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.381e-05/0.7976, allocations: 0 / 1.275 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.7977, allocations: 4 kB / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.7978, allocations: 12 kB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.7978, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.354e-05/0.7978, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.7978, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-06/0.7979, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.7979, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.7979, allocations: 3.984 kB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.086e-05/0.798, allocations: 7.984 kB / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.798, allocations: 0 / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.798, allocations: 0 / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.798, allocations: 0 / 1.275 GB, free: 3.902 MB / 0.9669 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.00045/0.7984, allocations: 315.5 kB / 1.275 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.7985, allocations: 8.031 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.7985, allocations: 0.9375 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.7987, allocations: 168.4 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.7987, allocations: 384 / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.7987, allocations: 384 / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.7988, allocations: 34.2 kB / 1.275 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.7988, allocations: 4.125 kB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.7988, allocations: 3.938 kB / 1.275 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7989, allocations: 4 kB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.856e-05/0.7989, allocations: 0 / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.7991, allocations: 145.7 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.7991, allocations: 18.58 kB / 1.275 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.7992, allocations: 12.94 kB / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.7992, allocations: 0 / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.7992, allocations: 38.5 kB / 1.275 GB, free: 3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7992, allocations: 0 / 1.275 GB, free: 3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.7994, allocations: 37.58 kB / 1.275 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.7995, allocations: 51.41 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.7995, allocations: 97.86 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.7995, allocations: 25.7 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.7996, allocations: 80.14 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.7996, allocations: 2.672 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.7997, allocations: 9.844 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.7999, allocations: 318.8 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.7999, allocations: 4 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-06/0.7999, allocations: 0 / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.7999, allocations: 16.8 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7999, allocations: 0 / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.338e-05/0.8, allocations: 29.7 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8, allocations: 4 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.8, allocations: 96 / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.8001, allocations: 11.94 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.8001, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.8001, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.8002, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.8002, allocations: 3.984 kB / 1.276 GB, free: 2.262 MB / 0.9669 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.0001158/0.8003, allocations: 111.2 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.8003, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.8003, allocations: 7.062 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8003, allocations: 0 / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8003, allocations: 4 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.8003, allocations: 3.984 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.8005, allocations: 157.5 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8005, allocations: 4 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.934e-05/0.8005, allocations: 4 kB / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8005, allocations: 0 / 1.276 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.8005, allocations: 3.938 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8006, allocations: 0 / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8006, allocations: 0 / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.8007, allocations: 61.14 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.8007, allocations: 81.09 kB / 1.276 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.8007, allocations: 3.938 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-06/0.8007, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.8007, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.8007, allocations: 4 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.8008, allocations: 75.28 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.8008, allocations: 0 / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002199/0.801, allocations: 4.031 kB / 1.277 GB, free: 1.656 MB / 0.9669 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.0001588/0.8012, allocations: 107.1 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.8012, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8013, allocations: 4 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.8013, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.8014, allocations: 1.719 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.8018, allocations: 109.5 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.8021, allocations: 0.669 MB / 1.277 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.152e-05/0.8021, allocations: 0 / 1.277 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.8021, allocations: 11.44 kB / 1.277 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of SimCode: time 8.31e-07/0.8021, allocations: 0 / 1.277 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of Templates: time 0.002345/0.8044, allocations: 180.8 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.521751053165644]