Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009814/0.0009816, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009466/0.009467, allocations: 170.4 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 10.53 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4092, allocations: 162.2 MB / 1.074 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0009623/0.4103, allocations: 307.5 kB / 1.074 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.323e-05/0.4103, allocations: 3.938 kB / 1.074 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.4104, allocations: 4 kB / 1.074 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.4104, allocations: 7.984 kB / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.4104, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.055e-05/0.4105, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.4105, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.4106, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.4107, allocations: 3.984 kB / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.83e-05/0.4107, allocations: 8 kB / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.4107, allocations: 0 / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.4107, allocations: 0 / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.4108, allocations: 0 / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.4108, allocations: 25.7 kB / 1.075 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.534e-05/0.4109, allocations: 4 kB / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4109, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4109, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4109, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 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.0003561/0.4113, allocations: 311.6 kB / 1.075 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.4113, allocations: 8.031 kB / 1.075 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.4114, allocations: 0.9375 kB / 1.075 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4115, allocations: 160.4 kB / 1.075 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4115, allocations: 4.312 kB / 1.075 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4115, allocations: 8.375 kB / 1.075 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4117, allocations: 30.2 kB / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.4117, allocations: 192 / 1.075 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4117, allocations: 7.938 kB / 1.075 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.4117, allocations: 3.984 kB / 1.075 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.4117, allocations: 4 kB / 1.075 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.4119, allocations: 145.7 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.409e-05/0.4119, allocations: 14.58 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.412, allocations: 12.95 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.412, allocations: 7.938 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.412, allocations: 30.56 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.412, allocations: 0 / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.4122, allocations: 37.64 kB / 1.075 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4123, allocations: 55.39 kB / 1.075 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.003e-05/0.4123, allocations: 89.86 kB / 1.075 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4123, allocations: 29.83 kB / 1.075 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.4124, allocations: 80.14 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.4124, allocations: 0 / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.4124, allocations: 17.66 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4126, allocations: 310.8 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.4126, allocations: 4 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.4126, allocations: 3.938 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.973e-05/0.4127, allocations: 8.922 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4127, allocations: 4 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.616e-05/0.4127, allocations: 29.7 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4127, allocations: 7.984 kB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4128, allocations: 0 / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4128, allocations: 3.938 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.4128, allocations: 4 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4129, allocations: 0 / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.4129, allocations: 4 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4129, allocations: 0 / 1.076 GB, free: 5.445 MB / 0.8262 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 8.399e-05/0.413, allocations: 113.9 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.413, allocations: 11.84 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.413, allocations: 7.062 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.413, allocations: 3.938 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.413, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.413, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.4132, allocations: 145.7 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4132, allocations: 4 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.4132, allocations: 0 / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4132, allocations: 0 / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4132, allocations: 7.938 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4132, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4132, allocations: 0 / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.59e-05/0.4133, allocations: 61.12 kB / 1.076 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.4134, allocations: 77.11 kB / 1.076 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4134, allocations: 3.938 kB / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.4134, allocations: 0 / 1.076 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.4134, allocations: 4.031 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4134, allocations: 4 kB / 1.076 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.4135, allocations: 81.39 kB / 1.076 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4135, allocations: 0 / 1.076 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001832/0.4137, allocations: 0 / 1.076 GB, free: 4.836 MB / 0.8262 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.0001978/0.4139, allocations: 95.25 kB / 1.076 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.844e-05/0.414, allocations: 11.98 kB / 1.076 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.414, allocations: 0 / 1.076 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-06/0.414, allocations: 8.062 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.4142, allocations: 288 / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.4145, allocations: 84.66 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.4147, allocations: 0.6731 MB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.4148, allocations: 3.938 kB / 1.077 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.4148, allocations: 7.438 kB / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.334e-06/0.4148, allocations: 0 / 1.077 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.002168/0.417, allocations: 169 kB / 1.077 GB, free: 3.727 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1)