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.0009322/0.0009322, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.001029/0.001029, allocations: 161.3 kB / 23.51 MB, free: 0.918 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.963/0.963, allocations: 177.2 MB / 203.9 MB, free: 5.605 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.895/1.895, allocations: 393.3 MB / 0.6383 GB, free: 8.246 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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 2.765e-06/2.765e-06, allocations: 0 / 0.8313 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.364e-05, allocations: 2.312 kB / 0.8313 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001512/0.001546, allocations: 0.5877 MB / 0.8318 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 4.333e-05/0.001589, allocations: 4.75 kB / 0.8318 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.001608, allocations: 0 / 0.8318 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.001635, allocations: 0.5625 kB / 0.8318 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.001662, allocations: 1.766 kB / 0.8318 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.881e-05/0.00169, allocations: 0 / 0.8318 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.001749, allocations: 9.609 kB / 0.8318 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.001801, allocations: 4 kB / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.001853, allocations: 0.875 kB / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.00188, allocations: 0 / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.001896, allocations: 0 / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-06/0.001901, allocations: 1.219 kB / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.001914, allocations: 0 / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.001932, allocations: 224 / 0.8319 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 6.766e-05/0.002, allocations: 8.562 kB / 0.8319 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002002, allocations: 0 / 0.8319 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.332e-06/0.002003, allocations: 4.812 kB / 0.8319 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.002014, allocations: 0 / 0.8319 GB, free: 10.16 MB / 0.7917 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.0002457/0.00226, allocations: 235.5 kB / 0.8321 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.002305, allocations: 8.031 kB / 0.8321 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.002348, allocations: 4.938 kB / 0.8321 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.904e-05/0.002417, allocations: 110.9 kB / 0.8322 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.00243, allocations: 384 / 0.8322 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.002441, allocations: 384 / 0.8322 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.002536, allocations: 26.83 kB / 0.8322 GB, free: 9.723 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.002545, allocations: 1.094 kB / 0.8322 GB, free: 9.723 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.002555, allocations: 4.375 kB / 0.8322 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.002564, allocations: 384 / 0.8322 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.002582, allocations: 5 kB / 0.8322 GB, free: 9.715 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.804e-05/0.00268, allocations: 97.31 kB / 0.8323 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.002727, allocations: 27.33 kB / 0.8324 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.002751, allocations: 4.859 kB / 0.8324 GB, free: 9.547 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.002762, allocations: 5.25 kB / 0.8324 GB, free: 9.543 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.002785, allocations: 30.56 kB / 0.8324 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.002786, allocations: 0 / 0.8324 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.00293, allocations: 35.23 kB / 0.8324 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.002962, allocations: 51.41 kB / 0.8325 GB, free: 9.402 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.192e-05/0.002994, allocations: 97.86 kB / 0.8326 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.003005, allocations: 26.23 kB / 0.8326 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.003031, allocations: 80.14 kB / 0.8327 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.003065, allocations: 16.64 kB / 0.8327 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.003088, allocations: 9.719 kB / 0.8327 GB, free: 9.152 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.00318, allocations: 319.7 kB / 0.833 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.003192, allocations: 0 / 0.833 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.003197, allocations: 0.5312 kB / 0.833 GB, free: 8.832 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.003228, allocations: 14.2 kB / 0.833 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00323, allocations: 0 / 0.833 GB, free: 8.816 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.637e-05/0.003276, allocations: 34.52 kB / 0.8331 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.003291, allocations: 8 kB / 0.8331 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.003297, allocations: 3.938 kB / 0.8331 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.003314, allocations: 0.75 kB / 0.8331 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.573e-05/0.00337, allocations: 3.984 kB / 0.8331 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.003375, allocations: 0.625 kB / 0.8331 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.003386, allocations: 5.25 kB / 0.8331 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.00339, allocations: 4 kB / 0.8331 GB, free: 8.754 MB / 0.7917 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.191e-05/0.003442, allocations: 105.8 kB / 0.8332 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-06/0.003446, allocations: 1.75 kB / 0.8332 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.003464, allocations: 3 kB / 0.8332 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.003466, allocations: 0 / 0.8332 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.003471, allocations: 4 kB / 0.8332 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003473, allocations: 0 / 0.8332 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.482e-05/0.003528, allocations: 108.2 kB / 0.8333 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.003529, allocations: 0 / 0.8333 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.003539, allocations: 4 kB / 0.8333 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00354, allocations: 0 / 0.8333 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.003546, allocations: 0 / 0.8333 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.003547, allocations: 0 / 0.8333 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003548, allocations: 0 / 0.8333 GB, free: 8.496 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.348e-05/0.003621, allocations: 62.48 kB / 0.8334 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.003628, allocations: 4 kB / 0.8334 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.003642, allocations: 3.984 kB / 0.8334 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-06/0.003646, allocations: 0 / 0.8334 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.003661, allocations: 8.609 kB / 0.8334 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.003663, allocations: 4 kB / 0.8334 GB, free: 8.398 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.003686, allocations: 75.78 kB / 0.8335 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.003686, allocations: 1.938 kB / 0.8335 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001165/0.003803, allocations: 0 / 0.8335 GB, free: 8.324 MB / 0.7917 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 9.412e-05/0.003897, allocations: 100.6 kB / 0.8335 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.817e-05/0.003975, allocations: 1.438 kB / 0.8335 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.003977, allocations: 4 kB / 0.8336 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-06/0.003981, allocations: 3.938 kB / 0.8336 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.004092, allocations: 0 / 0.8336 GB, free: 8.207 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.004329, allocations: 87.56 kB / 0.8336 GB, free: 8.094 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.004365, allocations: 55.36 kB / 0.8337 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.249e-05/0.004378, allocations: 0.5312 kB / 0.8337 GB, free: 8.02 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.004402, allocations: 13.25 kB / 0.8337 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of SimCode: time 6.81e-07/0.004403, allocations: 0 / 0.8337 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of Templates: time 0.0016/0.006003, allocations: 193.7 kB / 0.8339 GB, free: 7.832 MB / 0.7917 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 -s cvode -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: 5.123882161453366]