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.001122/0.001121, 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.001358/0.001358, allocations: 193 kB / 16.13 MB, free: 6.66 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.486/1.486, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.88 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3909, 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.Average): time 0.002105/0.393, allocations: 0.7711 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000919/0.394, allocations: 0.804 MB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.394, allocations: 0 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.3941, allocations: 3.984 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.748e-05/0.3941, allocations: 7.938 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.082e-05/0.3942, allocations: 8 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.3943, allocations: 43.84 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3944, allocations: 8 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.3945, allocations: 15.98 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.3946, allocations: 27.84 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.3946, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.3946, allocations: 4 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3947, allocations: 3.984 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3947, allocations: 15.92 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.668e-05/0.3948, allocations: 43.75 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3948, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3948, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.3948, allocations: 4 kB / 1.069 GB, free: 9.148 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.000584/0.3954, allocations: 359.7 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3955, allocations: 8.031 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3955, allocations: 4.844 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3956, allocations: 176.3 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3957, allocations: 384 / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3957, allocations: 4.375 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3959, allocations: 70.22 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.396, allocations: 192 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.396, allocations: 3.938 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.396, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.3963, allocations: 63.86 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3967, allocations: 272.9 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3969, allocations: 62.47 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.397, allocations: 36.86 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3971, allocations: 4 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3971, allocations: 34.56 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.3971, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005272/0.3976, allocations: 129.5 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3977, allocations: 55.41 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.3978, allocations: 105.8 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3978, allocations: 25.7 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.3978, allocations: 96.03 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3979, allocations: 3.906 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3979, allocations: 17.72 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.398, allocations: 314.8 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3982, allocations: 31.97 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3983, allocations: 36.14 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3986, allocations: 72.8 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3986, allocations: 11.94 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003139/0.399, allocations: 97.56 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.399, allocations: 9.719 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.399, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.399, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3991, allocations: 19.98 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.3991, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.83e-05/0.3992, allocations: 11.98 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.3992, allocations: 4 kB / 1.071 GB, free: 6.82 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 7.168e-05/0.3993, allocations: 113.8 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.3994, allocations: 7.906 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3994, allocations: 7.906 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3994, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3994, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3994, allocations: 3.938 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.3996, allocations: 169.6 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3996, allocations: 4 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.3997, allocations: 19.97 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3997, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3997, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3997, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3997, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.4001, allocations: 199.4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.4002, allocations: 88.94 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.4002, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4003, allocations: 11.98 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4004, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.4004, allocations: 3.938 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.4004, allocations: 91.27 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.422e-06/0.4005, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002088/0.4007, allocations: 15.94 kB / 1.072 GB, free: 5.996 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.0001672/0.4008, allocations: 95.25 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.4012, allocations: 67.92 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4012, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.4014, allocations: 39.95 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.4017, allocations: 7.938 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.402, allocations: 143 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4023, allocations: 0.6809 MB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.4023, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.4024, allocations: 7.438 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.4024, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.002582/0.405, allocations: 0.5534 MB / 1.074 GB, free: 4.348 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)