Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00165/0.00165, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.729/1.729, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.178/3.178, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 69.64 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3879, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002044/0.39, allocations: 0.6165 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.662e-05/0.3901, allocations: 15.92 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.3901, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.3902, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.954e-05/0.3902, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.702e-05/0.3902, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.604e-05/0.3903, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.3904, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.3904, allocations: 3.984 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.033e-05/0.3904, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3904, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-06/0.3904, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.3904, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.3905, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.57e-05/0.3906, allocations: 11.94 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3906, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3906, allocations: 3.938 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3906, allocations: 3.938 kB / 1.068 GB, free: 10.27 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.0003431/0.3909, allocations: 315.6 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.391, allocations: 8.031 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.391, allocations: 0.9375 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3911, allocations: 160.4 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3911, allocations: 4.375 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.3912, allocations: 4.375 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.796e-05/0.3913, allocations: 30.25 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.3913, allocations: 192 / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3913, allocations: 7.938 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3913, allocations: 0 / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.3913, allocations: 4 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.3916, allocations: 387.5 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.3917, allocations: 169.1 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.3918, allocations: 80.14 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.3918, allocations: 75.28 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.3918, allocations: 105.8 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3919, allocations: 4 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.821e-05/0.3919, allocations: 35.84 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.392, allocations: 130.7 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.3921, allocations: 97.86 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3921, allocations: 25.7 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.3922, allocations: 84.12 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3922, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.3922, allocations: 13.84 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3923, allocations: 310.8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-06/0.3923, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.3923, allocations: 0 / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.3924, allocations: 83.22 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/0.3924, allocations: 75.28 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.72e-05/0.3924, allocations: 41.48 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.3925, allocations: 83.28 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/0.3925, allocations: 79.28 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.457e-05/0.3926, allocations: 154.5 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.541e-05/0.3926, allocations: 79.22 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.267e-05/0.3927, allocations: 154.6 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.3927, allocations: 79.22 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3928, allocations: 75.28 kB / 1.071 GB, free: 7.145 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 (0): * Single equations (assignments): 0 * 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 0.0001117/0.3929, allocations: 268.3 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.393, allocations: 108.9 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.393, allocations: 111.9 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.497e-05/0.3931, allocations: 180.2 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.727e-05/0.3931, allocations: 180.2 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/0.3932, allocations: 188.3 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3934, allocations: 405.1 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/0.3935, allocations: 101 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.3935, allocations: 109 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.3936, allocations: 180.5 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.3936, allocations: 184.2 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.556e-05/0.3937, allocations: 188.2 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.663e-05/0.3938, allocations: 184.3 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3939, allocations: 307.7 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.394, allocations: 186.1 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.3941, allocations: 184.2 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.3942, allocations: 101 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.3943, allocations: 180.3 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.3943, allocations: 104.9 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.3944, allocations: 83.27 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3944, allocations: 4 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002497/0.3947, allocations: 96 / 1.074 GB, free: 3.457 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 (0): * Single equations (assignments): 0 * 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.0001947/0.3949, allocations: 174.5 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.95e-05/0.3949, allocations: 0 / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3949, allocations: 0 / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.3949, allocations: 0 / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.3954, allocations: 0.534 MB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.3957, allocations: 154 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.396, allocations: 0.6692 MB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.463e-05/0.3961, allocations: 4 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.3961, allocations: 7.438 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3961, allocations: 0 / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.002493/0.3986, allocations: 160.8 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)