Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001225/0.001225, allocations: 189 kB / 16.25 MB, free: 6.148 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.92 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3874, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002275/0.3898, allocations: 0.7633 MB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.3908, allocations: 0.804 MB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.3908, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.3909, allocations: 3.984 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.391, allocations: 3.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.285e-05/0.391, allocations: 8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.3911, allocations: 47.84 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3913, allocations: 12 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.3914, allocations: 23.86 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.3914, allocations: 27.91 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3914, allocations: 4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.3915, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.3915, allocations: 11.94 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.3915, allocations: 19.86 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.3916, allocations: 39.86 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.3917, allocations: 4 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3917, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3917, allocations: 0 / 1.069 GB, free: 8.965 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.00065/0.3923, allocations: 363.7 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3924, allocations: 8.031 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.3924, allocations: 8.844 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3926, allocations: 168.3 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3926, allocations: 4.375 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3926, allocations: 384 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3929, allocations: 66.22 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3929, allocations: 4.188 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3929, allocations: 3.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3929, allocations: 4 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.3932, allocations: 63.86 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.3937, allocations: 272.9 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3939, allocations: 58.58 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3941, allocations: 36.81 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3941, allocations: 0 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.3941, allocations: 38.56 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3941, allocations: 3.938 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000526/0.3947, allocations: 125.6 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3947, allocations: 51.41 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.3948, allocations: 109.8 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3948, allocations: 25.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.3949, allocations: 92.05 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.395, allocations: 7.906 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.395, allocations: 13.72 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3952, allocations: 318.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3953, allocations: 31.97 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3955, allocations: 35.95 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.3957, allocations: 72.95 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3957, allocations: 3.938 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003118/0.396, allocations: 109.6 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3961, allocations: 4 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3961, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3961, allocations: 3.938 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3962, allocations: 15.98 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3962, allocations: 0 / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.34e-05/0.3963, allocations: 11.98 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.645 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 8.815e-05/0.3964, allocations: 117.8 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.3965, allocations: 11.91 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3965, allocations: 3.906 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3965, allocations: 3.938 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3965, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3965, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.3967, allocations: 173.6 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3967, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3968, allocations: 19.97 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3969, allocations: 4 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.3969, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3969, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3969, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.3972, allocations: 195.4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.3973, allocations: 92.94 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3973, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3974, allocations: 11.98 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.3975, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3975, allocations: 8 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.3975, allocations: 87.2 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3975, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000214/0.3978, allocations: 12 kB / 1.072 GB, free: 5.816 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.0001791/0.3979, allocations: 99.25 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3983, allocations: 67.92 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3983, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3984, allocations: 35.95 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.3988, allocations: 18.28 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3991, allocations: 150.7 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3994, allocations: 0.6807 MB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.3995, allocations: 4 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3995, allocations: 7.438 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3995, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.002923/0.4024, allocations: 0.5821 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1)