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.001468/0.001468, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001577/0.001577, allocations: 192.5 kB / 22.17 MB, free: 5.656 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.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.889/2.889, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 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.003192/0.003192, allocations: 71.89 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9291, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00192/0.931, allocations: 0.5863 MB / 1.275 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.18e-05/0.9311, allocations: 4 kB / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.9311, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.9311, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.9312, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.35e-05/0.9312, allocations: 0 / 1.275 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.9313, allocations: 7.922 kB / 1.275 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.9313, allocations: 12 kB / 1.275 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.9313, allocations: 3.938 kB / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.9314, allocations: 0 / 1.275 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.9314, allocations: 3.984 kB / 1.275 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-06/0.9314, allocations: 4 kB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.9314, allocations: 0 / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.9314, allocations: 0 / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 6.42e-05/0.9315, allocations: 0 / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9315, allocations: 4 kB / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9315, allocations: 0 / 1.275 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9315, allocations: 0 / 1.275 GB, free: 3.949 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.000394/0.9319, allocations: 311.5 kB / 1.275 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9319, allocations: 12.06 kB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.932, allocations: 0.9375 kB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9321, allocations: 168.4 kB / 1.275 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.9321, allocations: 384 / 1.275 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.9321, allocations: 4.312 kB / 1.275 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.9322, allocations: 30.27 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.9322, allocations: 192 / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.9322, allocations: 3.938 kB / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.9323, allocations: 0 / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.9323, allocations: 3.938 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.9324, allocations: 149.7 kB / 1.275 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.396e-05/0.9325, allocations: 22.58 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.9325, allocations: 12.89 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.9325, allocations: 0 / 1.275 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.9326, allocations: 30.56 kB / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.9326, allocations: 0 / 1.275 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.9327, allocations: 37.58 kB / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.9327, allocations: 59.52 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.9328, allocations: 89.86 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.9328, allocations: 29.7 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.9328, allocations: 84.14 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.9329, allocations: 2.672 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.9329, allocations: 9.719 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9331, allocations: 310.8 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.9331, allocations: 4 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.9331, allocations: 4 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.9331, allocations: 12.86 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9331, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.335e-05/0.9332, allocations: 37.62 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.9332, allocations: 5.875 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.9332, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9332, allocations: 3.938 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.9333, allocations: 4 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9333, allocations: 0 / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-06/0.9333, allocations: 4.094 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.9333, allocations: 4 kB / 1.276 GB, free: 2.305 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 7.86e-05/0.9334, allocations: 106.4 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.9334, allocations: 4 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.9334, allocations: 7.062 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.9334, allocations: 0 / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9334, allocations: 0 / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.9334, allocations: 0 / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.9335, allocations: 149.7 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9335, allocations: 4 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.9335, allocations: 7.984 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.9335, allocations: 0 / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9335, allocations: 7.875 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9335, allocations: 0 / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9335, allocations: 7.875 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/0.9336, allocations: 57.12 kB / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.9337, allocations: 81.14 kB / 1.276 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.9337, allocations: 7.938 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.9337, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.9337, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.9337, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.9337, allocations: 79.28 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.9337, allocations: 0 / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001872/0.9339, allocations: 0 / 1.277 GB, free: 1.703 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.0001673/0.9341, allocations: 99.23 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.895e-05/0.9342, allocations: 11.94 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9342, allocations: 0 / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.9342, allocations: 4 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.9343, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.9346, allocations: 102.2 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.935, allocations: 0.6729 MB / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.935, allocations: 0 / 1.277 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.935, allocations: 7.562 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.935, allocations: 4 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.002654/0.9377, allocations: 172.9 kB / 1.278 GB, free: 0.582 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 cvode -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: 9.069142760708928]