Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 111.3 kB / 16.37 MB, free: 5.996 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.001188/0.001188, allocations: 195.3 kB / 17.31 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.867/1.867, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2356, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002162/0.2378, allocations: 0.675 MB / 0.7855 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009187/0.2388, allocations: 0.8087 MB / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.2388, allocations: 0 / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.2389, allocations: 0 / 0.7863 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.2389, allocations: 3.938 kB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.2391, allocations: 15.97 kB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.2392, allocations: 23.92 kB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2393, allocations: 4 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.2393, allocations: 7.984 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.2394, allocations: 15.94 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2394, allocations: 4 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.2394, allocations: 0 / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.2394, allocations: 3.984 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.2395, allocations: 11.94 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.471e-05/0.2395, allocations: 23.89 kB / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2396, allocations: 0 / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2396, allocations: 0 / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2396, allocations: 0 / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000472/0.24, allocations: 347.4 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2401, allocations: 8.031 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.2401, allocations: 0.9375 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2403, allocations: 168.3 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2403, allocations: 384 / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.2403, allocations: 4.359 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.2405, allocations: 46.25 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2405, allocations: 192 / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2405, allocations: 3.938 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2405, allocations: 7.984 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2407, allocations: 35.95 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.241, allocations: 240.9 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.2412, allocations: 46.47 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.2413, allocations: 24.91 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2413, allocations: 4 kB / 0.7873 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2413, allocations: 30.56 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2413, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.2417, allocations: 85.55 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.2418, allocations: 63.41 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.237e-05/0.2418, allocations: 101.8 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2419, allocations: 25.7 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.2419, allocations: 80.14 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.2419, allocations: 7.906 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.242, allocations: 17.66 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4593/0.7013, allocations: 310.8 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.7016, allocations: 15.23 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.7017, allocations: 18.88 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.7019, allocations: 42.52 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7019, allocations: 0 / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002581/0.7022, allocations: 70.2 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.7022, allocations: 5.25 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7022, allocations: 0 / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.7023, allocations: 2.844 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.7024, allocations: 9.656 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7024, allocations: 0 / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.7025, allocations: 11.14 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.7025, allocations: 2.625 kB / 0.7881 GB, free: 48.48 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.047e-05/0.7026, allocations: 109.4 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.7026, allocations: 2.469 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.7029, allocations: 78.17 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7029, allocations: 0 / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.7029, allocations: 4.625 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.7029, allocations: 0 / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.7031, allocations: 157.4 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7031, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.7032, allocations: 10.44 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7032, allocations: 2.562 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7032, allocations: 0 / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7032, allocations: 2.656 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7032, allocations: 3.938 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.7035, allocations: 166.8 kB / 0.7886 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.7035, allocations: 83.38 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.7036, allocations: 0 / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.7036, allocations: 5.688 kB / 0.7887 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.7037, allocations: 6.625 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.7037, allocations: 1.094 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.7037, allocations: 83.7 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7037, allocations: 3.5 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000233/0.704, allocations: 2.656 kB / 0.7888 GB, free: 47.84 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.0002032/0.7042, allocations: 100.6 kB / 0.7889 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.7045, allocations: 44.88 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7045, allocations: 0.5312 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.7046, allocations: 20.12 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.7049, allocations: 4.625 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.7053, allocations: 124.3 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.7056, allocations: 0.6826 MB / 0.7898 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.7057, allocations: 10.66 kB / 0.7898 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7057, allocations: 0 / 0.7898 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.002425/0.7081, allocations: 0.5408 MB / 0.7903 GB, free: 46.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)