Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001752/0.001752, 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.001304/0.001304, allocations: 192.2 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.489/1.489, 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 2.915/2.915, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.27 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3831, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002747/0.3859, allocations: 0.9461 MB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3873, allocations: 0.8936 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3875, allocations: 3.938 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.411e-05/0.3875, allocations: 7.922 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.906e-05/0.3876, allocations: 3.938 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.3878, allocations: 55.95 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.388, allocations: 123.7 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.3883, allocations: 61.44 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.3884, allocations: 47.78 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.392e-05/0.3885, allocations: 55.7 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3885, allocations: 8 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.3885, allocations: 8 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.3886, allocations: 35.89 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.3886, allocations: 55.66 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.3888, allocations: 127.5 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.3888, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3888, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3888, allocations: 4 kB / 1.07 GB, free: 8.441 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.0007172/0.3896, allocations: 435.4 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3896, allocations: 12.03 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.3897, allocations: 20.73 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3899, allocations: 216 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3899, allocations: 8.375 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.39, allocations: 12.38 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.3903, allocations: 142.2 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3904, allocations: 192 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.3904, allocations: 15.88 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3904, allocations: 7.938 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.3907, allocations: 128.5 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.3916, allocations: 496 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3918, allocations: 86.48 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3919, allocations: 52.95 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.392, allocations: 0 / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.392, allocations: 34.56 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.392, allocations: 0 / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004767/0.3925, allocations: 165.4 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.3926, allocations: 51.41 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3928, allocations: 195.5 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3928, allocations: 25.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3929, allocations: 116 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3929, allocations: 39.44 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-05/0.393, allocations: 29.7 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3931, allocations: 322.8 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3932, allocations: 43.97 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3934, allocations: 43.48 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3936, allocations: 96.75 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3936, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003133/0.394, allocations: 149.4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.394, allocations: 8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.394, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.394, allocations: 4 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3942, allocations: 24.36 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3942, allocations: 0 / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3943, allocations: 19.83 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3943, allocations: 4 kB / 1.073 GB, free: 5.273 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.0001032/0.3945, allocations: 129.7 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.3945, allocations: 19.81 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.3949, allocations: 135 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.3949, allocations: 7.984 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3949, allocations: 0 / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.3949, allocations: 3.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.3955, allocations: 448.9 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3955, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3957, allocations: 31.92 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3957, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3957, allocations: 4 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3957, allocations: 4 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3957, allocations: 0 / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.396, allocations: 245.9 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.3961, allocations: 96.86 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3962, allocations: 4 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3963, allocations: 19.97 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.3964, allocations: 11.94 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3964, allocations: 4 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3965, allocations: 145.2 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3965, allocations: 0 / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002481/0.3968, allocations: 24 kB / 1.074 GB, free: 3.84 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.0001885/0.3969, allocations: 107.2 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.3973, allocations: 99.88 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3973, allocations: 4 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.3974, allocations: 47.91 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3978, allocations: 12.19 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.3984, allocations: 291.3 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3987, allocations: 0.7086 MB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.677e-05/0.3988, allocations: 13.08 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3989, allocations: 19.44 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3989, allocations: 0 / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.004021/0.4029, allocations: 1.053 MB / 1.076 GB, free: 1.438 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1)