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.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 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.0015/0.001499, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.721/1.721, 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.852/1.852, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001453/0.001453, allocations: 76.19 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2963, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.00196/0.2983, allocations: 0.6585 MB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.2993, allocations: 0.8126 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.2993, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.2994, allocations: 7.938 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.2994, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.2996, allocations: 19.92 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.2997, allocations: 23.92 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2998, allocations: 4 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.2999, allocations: 15.92 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.2999, allocations: 15.92 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3, allocations: 0 / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3, allocations: 4 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.3, allocations: 4 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.3, allocations: 11.92 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.533e-05/0.3001, allocations: 15.97 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3001, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3001, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3001, allocations: 4 kB / 0.7849 GB, free: 11.83 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005145/0.3007, allocations: 339.7 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3007, allocations: 8.031 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.3008, allocations: 0.9375 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.3009, allocations: 172.3 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.301, allocations: 384 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.301, allocations: 384 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.3012, allocations: 50.23 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3012, allocations: 192 / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3012, allocations: 3.938 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3012, allocations: 4 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.3014, allocations: 35.89 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.3017, allocations: 260.9 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3019, allocations: 42.48 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.302, allocations: 20.91 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.302, allocations: 0 / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.302, allocations: 34.56 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.985e-06/0.302, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.3024, allocations: 85.58 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.3025, allocations: 51.41 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.3026, allocations: 101.8 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3026, allocations: 29.83 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.3026, allocations: 84.14 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.3027, allocations: 3.906 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3027, allocations: 17.72 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3028, allocations: 310.8 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.3029, allocations: 23.91 kB / 0.7865 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.303, allocations: 11.98 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3032, allocations: 44.83 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3032, allocations: 0 / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.3034, allocations: 69.59 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3034, allocations: 4.938 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3034, allocations: 0 / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3034, allocations: 0 / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.468e-05/0.3035, allocations: 16.02 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3035, allocations: 3.984 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.3036, allocations: 8 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3036, allocations: 0 / 0.7867 GB, free: 9.805 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 (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.404e-05/0.3037, allocations: 118.4 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.3037, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.3039, allocations: 80.66 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.304, allocations: 0 / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.304, allocations: 8 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.304, allocations: 0 / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.3041, allocations: 157.6 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3041, allocations: 3.984 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.3042, allocations: 4 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3042, allocations: 0 / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3042, allocations: 4 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3042, allocations: 0 / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3042, allocations: 4.031 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.3045, allocations: 171.3 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.3045, allocations: 85.03 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3045, allocations: 0 / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3046, allocations: 4 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3047, allocations: 8.016 kB / 0.7873 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3047, allocations: 4 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.3047, allocations: 75.28 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3047, allocations: 0 / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002083/0.3049, allocations: 8 kB / 0.7874 GB, free: 8.98 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 (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.0001391/0.3051, allocations: 99.25 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3053, allocations: 39.95 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3053, allocations: 0 / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.3054, allocations: 19.92 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3057, allocations: 11.94 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.306, allocations: 101.5 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.3063, allocations: 0.6846 MB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.3063, allocations: 0 / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3063, allocations: 7.438 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3063, allocations: 0 / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.002669/0.309, allocations: 438.6 kB / 0.7888 GB, free: 7.535 MB / 0.6075 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)