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.001474/0.001474, allocations: 113 kB / 17.6 MB, free: 4.684 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.001397/0.001397, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.543/1.543, allocations: 225.6 MB / 249.4 MB, free: 3.242 MB / 190.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.897/2.897, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] 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.002022/0.002022, allocations: 67.91 kB / 1.107 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237/1.239, allocations: 168.7 MB / 1.272 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001906/1.241, allocations: 0.592 MB / 1.273 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.789e-05/1.241, allocations: 4.875 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/1.241, allocations: 0 / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/1.241, allocations: 0 / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/1.241, allocations: 1.547 kB / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.629e-05/1.241, allocations: 0 / 1.273 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/1.241, allocations: 10.17 kB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.404e-05/1.241, allocations: 5.625 kB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/1.241, allocations: 0.9375 kB / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/1.241, allocations: 0 / 1.273 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/1.241, allocations: 4.969 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-06/1.241, allocations: 0 / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/1.241, allocations: 0 / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/1.241, allocations: 0.7812 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.262e-05/1.241, allocations: 2.281 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.241, allocations: 0.5938 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.241, allocations: 4.688 kB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.103e-05/1.241, allocations: 0 / 1.273 GB, free: 7.504 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.0002566/1.241, allocations: 312.6 kB / 1.273 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.241, allocations: 13.28 kB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/1.241, allocations: 3.062 kB / 1.273 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.014e-05/1.242, allocations: 161.3 kB / 1.273 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.242, allocations: 4.312 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/1.242, allocations: 1.281 kB / 1.273 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/1.242, allocations: 28.14 kB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.242, allocations: 0.9844 kB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/1.242, allocations: 4.531 kB / 1.273 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/1.242, allocations: 0 / 1.273 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/1.242, allocations: 1.5 kB / 1.273 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/1.242, allocations: 157.3 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/1.242, allocations: 20.3 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/1.242, allocations: 7.375 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/1.242, allocations: 0.7812 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/1.242, allocations: 31.86 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/1.242, allocations: 0 / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/1.242, allocations: 43.69 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.242, allocations: 53.16 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.308e-05/1.242, allocations: 89.86 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/1.242, allocations: 25.7 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/1.242, allocations: 80.83 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/1.242, allocations: 4.375 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/1.242, allocations: 11.86 kB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.029e-05/1.242, allocations: 316.5 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/1.242, allocations: 4.719 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/1.242, allocations: 1.312 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/1.242, allocations: 12.77 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.242, allocations: 0 / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.052e-05/1.242, allocations: 31.95 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.242, allocations: 5.406 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.242, allocations: 0.6562 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.242, allocations: 4.969 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/1.242, allocations: 6.109 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.242, allocations: 4.719 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/1.242, allocations: 4.594 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/1.242, allocations: 0.625 kB / 1.274 GB, free: 5.93 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.085e-05/1.242, allocations: 108 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/1.242, allocations: 4.75 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/1.242, allocations: 8.375 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.242, allocations: 7.922 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.242, allocations: 1.484 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.242, allocations: 4.875 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.509e-05/1.243, allocations: 144.5 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/1.243, allocations: 0 / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-06/1.243, allocations: 1.75 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.243, allocations: 1.438 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/1.243, allocations: 7.875 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/1.243, allocations: 0.6875 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.243, allocations: 0.8438 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.516e-05/1.243, allocations: 60.53 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/1.243, allocations: 78.47 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/1.243, allocations: 5.359 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/1.243, allocations: 0.7188 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/1.243, allocations: 5.297 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/1.243, allocations: 0.9062 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.523e-05/1.243, allocations: 75.28 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/1.243, allocations: 0 / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000213/1.243, allocations: 0.75 kB / 1.274 GB, free: 5.352 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.0001486/1.243, allocations: 102.8 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.262e-05/1.243, allocations: 4 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.243, allocations: 0.7188 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/1.243, allocations: 2.156 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/1.243, allocations: 7.656 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/1.244, allocations: 105.6 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/1.244, allocations: 0.6752 MB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.485e-05/1.244, allocations: 1.266 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/1.244, allocations: 7.438 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/1.244, allocations: 0.75 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of Templates: time 0.002334/1.246, allocations: 176.6 kB / 1.276 GB, free: 4.387 MB / 0.9981 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 -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: 9.70686144568026]