Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00208/0.002079, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.23 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3827, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002369/0.3851, allocations: 0.7687 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3864, allocations: 0.8001 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.3864, allocations: 0 / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.3865, allocations: 4 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.3866, allocations: 11.86 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.956e-05/0.3866, allocations: 12 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.3867, allocations: 43.84 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3868, allocations: 4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.116e-05/0.3869, allocations: 19.92 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.387, allocations: 19.92 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.387, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.387, allocations: 8 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.3871, allocations: 3.984 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3871, allocations: 19.86 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3872, allocations: 43.86 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3872, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3872, allocations: 3.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3872, allocations: 0 / 1.069 GB, free: 9.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00092/0.3882, allocations: 361.4 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3882, allocations: 12.03 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.3883, allocations: 8.844 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3884, allocations: 168.3 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3884, allocations: 4.359 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3885, allocations: 384 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.3888, allocations: 74.16 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3888, allocations: 192 / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3888, allocations: 3.938 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3888, allocations: 7.984 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.3892, allocations: 63.92 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.3897, allocations: 264.9 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.3899, allocations: 66.42 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.3901, allocations: 40.91 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3901, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.3902, allocations: 34.56 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3902, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005516/0.3908, allocations: 129.6 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3908, allocations: 51.41 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.3909, allocations: 109.8 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3909, allocations: 33.58 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3911, allocations: 88.05 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3912, allocations: 15.89 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3912, allocations: 13.72 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.3915, allocations: 318.8 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3916, allocations: 31.97 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3917, allocations: 31.95 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.3921, allocations: 68.8 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3921, allocations: 3.938 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003273/0.3925, allocations: 89.62 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.3925, allocations: 13.55 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3925, allocations: 4 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3925, allocations: 0 / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3927, allocations: 19.92 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3927, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.3928, allocations: 7.984 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3928, allocations: 4 kB / 1.071 GB, free: 6.836 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 (3): * Single equations (assignments): 3 * 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.58e-05/0.3929, allocations: 113.8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.3929, allocations: 11.91 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.393, allocations: 7.891 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.393, allocations: 7.938 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.393, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.393, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.3932, allocations: 169.6 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3932, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.3933, allocations: 19.97 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3933, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3933, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3933, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3933, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.3937, allocations: 203.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3937, allocations: 84.95 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.3938, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3939, allocations: 19.97 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3939, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3939, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001373/0.3941, allocations: 87.2 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3941, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002222/0.3943, allocations: 12 kB / 1.072 GB, free: 6 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 (3): * Single equations (assignments): 3 * 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.0002006/0.3945, allocations: 95.25 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.3949, allocations: 71.92 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.395, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3951, allocations: 39.89 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3955, allocations: 7.938 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3958, allocations: 135.2 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3963, allocations: 0.6809 MB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.3963, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3963, allocations: 7.438 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3963, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of Templates: time 0.002622/0.399, allocations: 0.543 MB / 1.074 GB, free: 4.367 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1)