Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001755/0.001755, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005596/0.00056, allocations: 15.53 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4085, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001178/0.4097, allocations: 0.6072 MB / 1.075 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.411, allocations: 0.8975 MB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.4112, allocations: 0 / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.4112, allocations: 3.938 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.4113, allocations: 7.938 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.4116, allocations: 55.92 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.4118, allocations: 127.7 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.412, allocations: 49.47 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.4121, allocations: 43.77 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.4122, allocations: 47.7 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.4123, allocations: 8 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.752e-05/0.4123, allocations: 4 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.4123, allocations: 23.86 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.4124, allocations: 73.38 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.4126, allocations: 119.5 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4126, allocations: 0 / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4126, allocations: 0 / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4126, allocations: 0 / 1.076 GB, free: 5.434 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007028/0.4133, allocations: 435.4 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.4134, allocations: 8.031 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.4135, allocations: 20.73 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.4137, allocations: 207.5 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4137, allocations: 8.375 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.4138, allocations: 16.36 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.4141, allocations: 150.2 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4141, allocations: 192 / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.4142, allocations: 7.938 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4142, allocations: 7.938 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.4145, allocations: 140.5 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.4153, allocations: 0.4922 MB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.4156, allocations: 98.42 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.4157, allocations: 52.81 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.4157, allocations: 7.984 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4158, allocations: 34.56 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.4158, allocations: 3.938 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005146/0.4163, allocations: 177.6 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.4163, allocations: 51.41 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4165, allocations: 195.5 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.4166, allocations: 29.7 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.4167, allocations: 115.9 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.4167, allocations: 31.55 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.4167, allocations: 21.7 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4169, allocations: 326.8 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.417, allocations: 51.97 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4171, allocations: 43.98 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.4174, allocations: 104.8 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4174, allocations: 0 / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003388/0.4178, allocations: 157.4 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4178, allocations: 9.25 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4178, allocations: 4 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4178, allocations: 0 / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.418, allocations: 27.92 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.418, allocations: 4 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4181, allocations: 23.83 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4181, allocations: 4 kB / 1.079 GB, free: 2.188 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 (13): * Single equations (assignments): 13 * 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.0001073/0.4182, allocations: 121.8 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.4183, allocations: 19.81 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.4187, allocations: 147.3 kB / 1.079 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4187, allocations: 4 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4187, allocations: 0 / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4187, allocations: 7.984 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.4193, allocations: 456.8 kB / 1.08 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4193, allocations: 8.094 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4194, allocations: 35.97 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4194, allocations: 0 / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4195, allocations: 0 / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4195, allocations: 4 kB / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4195, allocations: 0 / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.4198, allocations: 261.7 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.4199, allocations: 92.95 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4199, allocations: 3.938 kB / 1.08 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4201, allocations: 23.98 kB / 1.08 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4201, allocations: 15.92 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.4201, allocations: 4 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001137/0.4203, allocations: 145.2 kB / 1.08 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4203, allocations: 0 / 1.08 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002459/0.4205, allocations: 20 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001459/0.4207, allocations: 107.2 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.421, allocations: 111.4 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.421, allocations: 4 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.4211, allocations: 55.97 kB / 1.081 GB, free: 452 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4215, allocations: 16 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.4221, allocations: 284.7 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4225, allocations: 0.7126 MB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.4226, allocations: 17.08 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.4226, allocations: 15.44 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4227, allocations: 192 / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.004282/0.4269, allocations: 1.039 MB / 1.083 GB, free: 14.31 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1)