Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001006/0.001006, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001155/0.001155, allocations: 161 kB / 23.82 MB, free: 0.75 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.9661/0.9661, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.007/2.007, allocations: 377.8 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.697e-06/3.697e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.795e-05/4.165e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002069/0.002111, allocations: 0.593 MB / 0.8122 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 6.429e-05/0.002175, allocations: 12.09 kB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.002196, allocations: 0 / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.002233, allocations: 0 / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.247e-05/0.002266, allocations: 0.5625 kB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.081e-05/0.002306, allocations: 4 kB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002371, allocations: 4.938 kB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.002428, allocations: 0 / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.002466, allocations: 1.094 kB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.00249, allocations: 0 / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.002505, allocations: 0 / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/0.00251, allocations: 0.8438 kB / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.002524, allocations: 0 / 0.8122 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.002546, allocations: 4 kB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.798e-05/0.002613, allocations: 1 kB / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002616, allocations: 0 / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.81e-07/0.002617, allocations: 0 / 0.8122 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.002622, allocations: 0.5625 kB / 0.8122 GB, free: 1.066 MB / 0.7605 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.0003033/0.002926, allocations: 352.9 kB / 0.8125 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.002974, allocations: 8.031 kB / 0.8125 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.003007, allocations: 2.188 kB / 0.8125 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.003089, allocations: 108.6 kB / 0.8126 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.003101, allocations: 384 / 0.8126 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.003114, allocations: 2.781 kB / 0.8126 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.00321, allocations: 34.2 kB / 0.8127 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.003222, allocations: 192 / 0.8127 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.003232, allocations: 384 / 0.8127 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.003241, allocations: 384 / 0.8127 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.509e-05/0.003256, allocations: 3.938 kB / 0.8127 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.003395, allocations: 113.2 kB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.003447, allocations: 27.75 kB / 0.8128 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.003481, allocations: 13.03 kB / 0.8128 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.003492, allocations: 3.938 kB / 0.8128 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.003521, allocations: 33.39 kB / 0.8129 GB, free: 260 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.003522, allocations: 0 / 0.8129 GB, free: 260 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.003663, allocations: 31.23 kB / 0.8129 GB, free: 224 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.0037, allocations: 51.41 kB / 0.8129 GB, free: 160 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.255e-05/0.003752, allocations: 146.2 kB / 0.8131 GB, free: 0 / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.003783, allocations: 30.97 kB / 0.8131 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.003919, allocations: 130.9 kB / 0.8132 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.003956, allocations: 0 / 0.8132 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.003987, allocations: 15.38 kB / 0.8132 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.00413, allocations: 0.4897 MB / 0.8137 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.004146, allocations: 0 / 0.8137 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-06/0.004155, allocations: 3.938 kB / 0.8137 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.004191, allocations: 12.94 kB / 0.8137 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.004194, allocations: 0 / 0.8137 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.387e-05/0.004258, allocations: 34.23 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.004274, allocations: 4.531 kB / 0.8138 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.004281, allocations: 3.984 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.0043, allocations: 4.875 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.004374, allocations: 7.984 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.00438, allocations: 0.8125 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.004394, allocations: 3.938 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.0044, allocations: 4.469 kB / 0.8138 GB, free: 15.22 MB / 0.7761 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 9.536e-05/0.004496, allocations: 161.9 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.004504, allocations: 352 / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.004535, allocations: 3 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.004538, allocations: 0 / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.004542, allocations: 1.156 kB / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.004545, allocations: 0 / 0.814 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.004668, allocations: 116.6 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.00467, allocations: 0.75 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.004686, allocations: 0 / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.004688, allocations: 0.625 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.004694, allocations: 0.9062 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.004695, allocations: 4 kB / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004696, allocations: 0 / 0.8141 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.947e-05/0.004776, allocations: 73.19 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-06/0.004783, allocations: 7.984 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.004794, allocations: 1.281 kB / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-06/0.0048, allocations: 0 / 0.8142 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.004815, allocations: 3.938 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.004817, allocations: 0.6562 kB / 0.8142 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.00485, allocations: 119.2 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00485, allocations: 0.8438 kB / 0.8143 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000214/0.005064, allocations: 4 kB / 0.8143 GB, free: 14.67 MB / 0.7761 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.0001115/0.005176, allocations: 96.78 kB / 0.8144 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.005256, allocations: 15.69 kB / 0.8144 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005258, allocations: 0.9688 kB / 0.8144 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-05/0.005271, allocations: 15.67 kB / 0.8144 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.005429, allocations: 3.375 kB / 0.8144 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.005708, allocations: 80.09 kB / 0.8145 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.005745, allocations: 55.3 kB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.513e-05/0.00576, allocations: 4 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.005781, allocations: 8.5 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of SimCode: time 6.52e-07/0.005782, allocations: 0 / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.002044/0.007826, allocations: 199.2 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","",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.317676972132176]