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.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.0008106/0.0008106, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008698/0.0008698, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 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.8811/0.8811, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.789/1.789, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 6.332e-06/6.332e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.444e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001601/0.001636, allocations: 0.5689 MB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.484e-05/0.001681, allocations: 0 / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.0017, allocations: 0 / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.001732, allocations: 4 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.672e-05/0.001759, allocations: 3.938 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.157e-05/0.00179, allocations: 0 / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.00186, allocations: 11.94 kB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.001915, allocations: 0 / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.00196, allocations: 3.984 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.156e-05/0.001981, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.002002, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-06/0.002006, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.00202, allocations: 4 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.002037, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 6.19e-05/0.002099, allocations: 7.984 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002101, allocations: 0 / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002102, allocations: 0 / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.002105, allocations: 0 / 1.002 GB, free: 12.33 MB / 0.9636 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.0002182/0.002323, allocations: 238.4 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.002363, allocations: 12.73 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.002393, allocations: 4.938 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.874e-05/0.002452, allocations: 105.7 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.002462, allocations: 384 / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.00247, allocations: 384 / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.373e-05/0.002554, allocations: 34.27 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.002561, allocations: 192 / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.00257, allocations: 384 / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.002577, allocations: 384 / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.002603, allocations: 3.938 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.00271, allocations: 97.33 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.824e-05/0.002759, allocations: 22.52 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.002785, allocations: 12.94 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.002797, allocations: 3.938 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.002824, allocations: 30.56 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.002825, allocations: 4 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.002968, allocations: 29.7 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.002999, allocations: 55.41 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.691e-05/0.003026, allocations: 93.86 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.003035, allocations: 25.7 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.003053, allocations: 80.14 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.003081, allocations: 3.938 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.003105, allocations: 13.72 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.003185, allocations: 318.8 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.003195, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.199e-06/0.003201, allocations: 4.125 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/0.003225, allocations: 12.86 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.003228, allocations: 7.938 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.435e-05/0.003263, allocations: 29.7 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.003276, allocations: 8 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.003281, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.003293, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.003347, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.003352, allocations: 3.938 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-06/0.003362, allocations: 11.98 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003366, allocations: 4 kB / 1.003 GB, free: 10.91 MB / 0.9636 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.151e-05/0.003418, allocations: 109.8 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-06/0.00342, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.003435, allocations: 3 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.003437, allocations: 4 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.00344, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.003444, allocations: 3.984 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.679e-05/0.00349, allocations: 101.3 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003491, allocations: 0 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-06/0.003498, allocations: 4 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.003499, allocations: 4 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.003505, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.003507, allocations: 3.984 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.003508, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.137e-05/0.003559, allocations: 61.02 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.003563, allocations: 0 / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.003572, allocations: 3.938 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-06/0.003575, allocations: 0 / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.003589, allocations: 7.984 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.00359, allocations: 0 / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.003613, allocations: 79.31 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.003613, allocations: 0 / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001169/0.00373, allocations: 4 kB / 1.003 GB, free: 10.47 MB / 0.9636 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.0001068/0.003836, allocations: 99.19 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.003914, allocations: 4 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.003915, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-06/0.003918, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.004021, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.004248, allocations: 122.6 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.004282, allocations: 55.36 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.004299, allocations: 8.5 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.0043, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of Templates: time 0.001163/0.005463, allocations: 339.9 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.576035452075303]