Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.57/1.57, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.768/1.768, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00153/0.00153, allocations: 67.59 kB / 0.6715 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.302, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.003286/0.3053, allocations: 0.7062 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3067, allocations: 0.8126 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3068, allocations: 4 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.3068, allocations: 3.938 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.3069, allocations: 3.938 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.177e-05/0.307, allocations: 15.98 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.3071, allocations: 35.92 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3073, allocations: 23.91 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.3074, allocations: 15.92 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.3075, allocations: 31.86 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.3075, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3075, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.3076, allocations: 15.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.3076, allocations: 19.92 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.3078, allocations: 43.81 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3078, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.236e-06/0.3078, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3078, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 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.0008/0.3086, allocations: 367.6 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.3087, allocations: 12.03 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.3088, allocations: 4.938 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.309, allocations: 176.2 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.309, allocations: 384 / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.309, allocations: 4.375 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.3094, allocations: 74.14 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3094, allocations: 4.188 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3094, allocations: 3.938 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3094, allocations: 8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.3098, allocations: 59.94 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.3104, allocations: 276.9 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.3107, allocations: 58.42 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3109, allocations: 40.91 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3109, allocations: 0 / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.311, allocations: 34.56 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.311, allocations: 4 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0007484/0.3117, allocations: 125.6 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.3118, allocations: 51.41 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.3119, allocations: 118 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.312, allocations: 29.7 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.312, allocations: 88.14 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.3121, allocations: 15.84 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.3121, allocations: 17.66 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3123, allocations: 322.8 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3125, allocations: 27.97 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3127, allocations: 39.95 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.3131, allocations: 72.72 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3131, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004246/0.3135, allocations: 97.95 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.3136, allocations: 4 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3136, allocations: 0 / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3136, allocations: 3.938 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3138, allocations: 15.98 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3139, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.314, allocations: 11.98 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.314, allocations: 3.984 kB / 0.7871 GB, free: 9.355 MB / 0.6075 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 0.0001315/0.3141, allocations: 125.8 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.3142, allocations: 3.906 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.3142, allocations: 7.906 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3142, allocations: 4 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3143, allocations: 0 / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3143, allocations: 0 / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3145, allocations: 173.6 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3145, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.3147, allocations: 15.98 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3147, allocations: 4 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3147, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3147, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3147, allocations: 0 / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.3152, allocations: 199.3 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.3153, allocations: 89.02 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3153, allocations: 0 / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.3155, allocations: 15.98 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.3155, allocations: 3.984 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3156, allocations: 0 / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.3156, allocations: 91.22 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3156, allocations: 0 / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003338/0.316, allocations: 12 kB / 0.7879 GB, free: 8.527 MB / 0.6075 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.000222/0.3162, allocations: 107.2 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.3167, allocations: 71.8 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3167, allocations: 4 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.3169, allocations: 31.97 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.3174, allocations: 16.88 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.3179, allocations: 133.4 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3182, allocations: 0.6807 MB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.3182, allocations: 7.984 kB / 0.7889 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.3183, allocations: 15.44 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.3183, allocations: 0 / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.004126/0.3224, allocations: 0.6921 MB / 0.7896 GB, free: 6.723 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)