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.001129/0.00113, allocations: 98.91 kB / 16.29 MB, free: 6 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.001121/0.001121, allocations: 184.2 kB / 17.22 MB, free: 5.617 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.71/1.71, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.013/2.013, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001501/0.001501, allocations: 67.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2993, allocations: 114.6 MB / 0.7841 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002375/0.3017, allocations: 0.6472 MB / 0.7847 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.3027, allocations: 0.8126 MB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.3028, allocations: 0 / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.3028, allocations: 4 kB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.852e-05/0.3029, allocations: 7.875 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.3031, allocations: 11.98 kB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.3032, allocations: 27.92 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3033, allocations: 4 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.3034, allocations: 11.98 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.3035, allocations: 7.938 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3035, allocations: 4 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.3035, allocations: 0 / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.3035, allocations: 15.97 kB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.3036, allocations: 7.938 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.3037, allocations: 19.91 kB / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3037, allocations: 0 / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3037, allocations: 0 / 0.7856 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3037, allocations: 0 / 0.7856 GB, free: 2.203 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.0005761/0.3043, allocations: 339.7 kB / 0.786 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3043, allocations: 8.031 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.3044, allocations: 4.922 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3045, allocations: 172.4 kB / 0.7861 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3046, allocations: 4.375 kB / 0.7861 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3046, allocations: 384 / 0.7861 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3048, allocations: 58.11 kB / 0.7862 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3048, allocations: 192 / 0.7862 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3048, allocations: 7.938 kB / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3048, allocations: 0 / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.305, allocations: 31.97 kB / 0.7862 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3053, allocations: 244.9 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3055, allocations: 46.47 kB / 0.7865 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.3056, allocations: 20.91 kB / 0.7865 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3056, allocations: 0 / 0.7865 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3057, allocations: 34.56 kB / 0.7866 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3057, allocations: 0 / 0.7866 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003253/0.306, allocations: 85.55 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.306, allocations: 51.41 kB / 0.7867 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.3061, allocations: 105.8 kB / 0.7868 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3061, allocations: 25.7 kB / 0.7868 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3062, allocations: 88.27 kB / 0.7869 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3062, allocations: 7.906 kB / 0.7869 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.3063, allocations: 9.719 kB / 0.7869 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3064, allocations: 318.8 kB / 0.7872 GB, free: 364 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3065, allocations: 15.98 kB / 0.7872 GB, free: 348 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.3065, allocations: 11.98 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.3067, allocations: 40.89 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3067, allocations: 0 / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001697/0.3069, allocations: 77.53 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3069, allocations: 6.969 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3069, allocations: 0 / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3069, allocations: 0 / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.307, allocations: 19.95 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.307, allocations: 0 / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.3071, allocations: 7.984 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.3071, allocations: 0 / 0.7874 GB, free: 176 kB / 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 7.961e-05/0.3072, allocations: 109.8 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.3072, allocations: 4 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5883/0.8955, allocations: 67.77 kB / 0.7876 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.8956, allocations: 1.344 kB / 0.7876 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.8956, allocations: 0.6875 kB / 0.7876 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.8956, allocations: 2.109 kB / 0.7876 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.8958, allocations: 162.8 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8958, allocations: 0 / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.8959, allocations: 8.344 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.8959, allocations: 3.375 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.8959, allocations: 0 / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8959, allocations: 0.6562 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.896, allocations: 3.062 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.8962, allocations: 167.7 kB / 0.7879 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.8963, allocations: 80.2 kB / 0.788 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.8963, allocations: 9.172 kB / 0.788 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.8964, allocations: 3.562 kB / 0.788 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.8964, allocations: 5.344 kB / 0.788 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.8964, allocations: 2.938 kB / 0.788 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.8965, allocations: 84.44 kB / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8965, allocations: 0 / 0.7881 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002752/0.8968, allocations: 3.469 kB / 0.7881 GB, free: 48.11 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.0001682/0.8969, allocations: 102.2 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.8972, allocations: 36.45 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8972, allocations: 2.719 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.8973, allocations: 15.95 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.8976, allocations: 10.38 kB / 0.7882 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.8979, allocations: 96.25 kB / 0.7883 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.8981, allocations: 0.6843 MB / 0.789 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.8981, allocations: 3.219 kB / 0.789 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.8982, allocations: 9.406 kB / 0.789 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.8982, allocations: 0 / 0.789 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.002316/0.9005, allocations: 441.6 kB / 0.7894 GB, free: 47.23 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)